Enable guest debugging through GDB
gdb [paused] port
For more information see Using the GNU debugger (GDB) in the Monitoring and Troubleshooting chapter.