Bläddra i källkod

Update debugging.md

blueloveTH 6 månader sedan
förälder
incheckning
4ac11583ba
1 ändrade filer med 1 tillägg och 1 borttagningar
  1. 1 1
      docs/features/debugging.md

+ 1 - 1
docs/features/debugging.md

@@ -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.
 which starts a debug server and waits for the VSCode extension to attach.
 When the debugger is attached, the program will continue to run.
 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.
 + If you are embedding pocketpy as a library, you need to call `py_debugger_waitforattach` manually in your C/C++ code.
 
 
 ## Configuration
 ## Configuration