mirror of
https://github.com/pocketpy/pocketpy
synced 2025-10-19 19:10:17 +00:00
Update debugging.md
This commit is contained in:
parent
6cb47cb544
commit
4ac11583ba
@ -30,7 +30,7 @@ pocketpy provides a C-API `py_debugger_waitforattach`,
|
||||
which starts a debug server and waits for the VSCode extension to attach.
|
||||
When the debugger is attached, the program will continue to run.
|
||||
|
||||
+ If you are using pocketpy's standalone executable `main.exe`, you can pass `--debug` flag to it. This will automatically call `py_debugger_waitforattach("localhost", 6110)` before running your program.
|
||||
+ If you are using pocketpy's standalone executable `main.exe`, you can pass `--debug` flag to it. This will automatically call `py_debugger_waitforattach("127.0.0.1", 6110)` before running your program.
|
||||
+ If you are embedding pocketpy as a library, you need to call `py_debugger_waitforattach` manually in your C/C++ code.
|
||||
|
||||
## Configuration
|
||||
|
Loading…
x
Reference in New Issue
Block a user