Skip to content

Commit bab937a

Browse files
authored
docs(vscode/debugging): building debug configuration (#218)
Building "debug" build configuration before starting the simulator can simplify the analysis of the program execution while debugging.
1 parent 909b756 commit bab937a

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

docs/vscode/debugging.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,12 @@ You can download a recent version of avr-gdb from [here](https://blog.zakkemble.
5555

5656
## Start the debugger
5757

58+
Before starting the simulator, build your software for the target to simulate.
59+
60+
:::info
61+
[Building the "debug" configuration](https://docs.platformio.org/en/latest/projectconf/build_configurations.html#build-configurations) can simplify the analysis of the program execution while debugging.
62+
:::
63+
5864
Start the Wokwi simulator by pressing **F1** and then selecting "**Wokwi: Start Simulator and Wait for Debugger**". The simulator will load, but the program will be paused, waiting for the debugger to connect. Then press **F5** to start the debugger.
5965

6066
:::warning

0 commit comments

Comments
 (0)