Debugging with a serial connection