mirror of
https://github.com/pocketpy/pocketpy
synced 2025-10-24 13:30:18 +00:00
661 B
661 B
| icon | title |
|---|---|
| dot | Debugging |
!!!
This feature is available in v1.4.5 or higher. Set PK_ENABLE_PROFILER to 1 to enable this feature.
!!!
You can invoke breakpoint() in your python code to start a PDB-like session.
The following commands are supported:
h, help: show this help messageq, quit: exit the debuggern, next: execute next lines, step: step intow, where: show current stack framec, continue: continue executiona, args: show local variablesl, list: show lines around current linell, longlist: show all linesp, print <expr>: evaluate expression!, execute statement: execute statement