Skip to content

Commit e42b9a2

Browse files
committed
feat(vscode): new Start Simulator and Wait for Debugger command
1 parent 79cbf8c commit e42b9a2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/vscode/debugging.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ gdbServerPort=3333
3333

3434
Replace the `program` path with the path to your firmware's ELF file, and the `miDebuggerPath` with the path to a GDB executable that supports your project's architecture (e.g. for AVR projects, use `avr-gdb`).
3535

36-
3. Start the Wokwi simulator by pressing **F1** and then selecting "**Wokwi: Start Simulator**". Then press **F5** to start the debugger.
36+
3. 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.
3737

3838
:::caution
3939
You need to start Wokwi before starting the debugger. If you start the debugger first, it will fail to connect to the simulator.

0 commit comments

Comments
 (0)