You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
QEMU debugging in VSCode is very useful. Currently however you can only open the monitor or a debugging window but not both. idf.py qemu supports starting qemu monitor with the --gdb flag so it will wait for GDB. In another terminal you can then start idf.py qemu gdb.
Debugging in VSCode is much than at the command line so it would ideal if there was a ESP-IDF: Launch Monitor and Debug Firmware option. Ideally there would also be a flash, open monitor, and debug.
Some things to do would be to support the idf.py passing of flash and efuse file via arguments, and the restarting the command should clean up any existing windows and reload everything.
This would make debugging ESP32 incredibly easier.
The text was updated successfully, but these errors were encountered:
github-actionsbot
changed the title
[Feature Request]: QEMU support for debugging and viewing the monitor at the same time
[Feature Request]: QEMU support for debugging and viewing the monitor at the same time (VSC-1606)
Feb 28, 2025
Hi @bdpdx I've created a PR that basically execute idf.py qemu that allows you to run QEMU to debug and monitor with "idf.qemuDebugMonitor": true configuration setting in .vscode/settings.json and "idf.customExtraArgs": ["--qemu-extra-args"] to pass custom arguments to QEMU in the format of idf.py qemu ${idf.customExtraArgs} ${idf.qemuDebugMonitor ? "-gdb": ""} monitor
Please take a look when you can.
You can test these changes by installing this VSIX by click menu View -> Command Palette..., type Install from VSIX and then select downloaded esp-idf-extension.vsix file to install the extension.
Your feedback matters! Could you take a moment to rate it on the marketplace? A positive rating helps other developers discover our tools and motivates us to keep improving.
QEMU debugging in VSCode is very useful. Currently however you can only open the monitor or a debugging window but not both. idf.py qemu supports starting qemu monitor with the --gdb flag so it will wait for GDB. In another terminal you can then start idf.py qemu gdb.
Debugging in VSCode is much than at the command line so it would ideal if there was a ESP-IDF: Launch Monitor and Debug Firmware option. Ideally there would also be a flash, open monitor, and debug.
Some things to do would be to support the idf.py passing of flash and efuse file via arguments, and the restarting the command should clean up any existing windows and reload everything.
This would make debugging ESP32 incredibly easier.
The text was updated successfully, but these errors were encountered: