Compare commits

...

2 Commits

Author SHA1 Message Date
blueloveTH
4ac11583ba Update debugging.md 2025-09-09 19:16:09 +08:00
blueloveTH
6cb47cb544 Update retype.yml 2025-09-09 19:15:15 +08:00
2 changed files with 2 additions and 2 deletions

View File

@ -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

View File

@ -3,7 +3,7 @@ output: .retype
url: https://pocketpy.dev
branding:
title: pocketpy
label: v2.1.1
label: v2.1.2
logo: "./static/logo.png"
favicon: "./static/logo.png"
meta: