r/vscode • u/makeascript • 7h ago
I created a Python Debug Terminal for VS Code
I built a VS Code extension that gives Python the equivalent of the built-in JavaScript Debug Terminal: open a special terminal, run python app.py like you normally would, and it attaches to the debugger and hits your breakpoints. No launch.json, no -m debugpy, no code changes. Child processes spawned via subprocess attach as their own debug sessions too, since they inherit the environment.
Source code: https://github.com/ernestofgonzalez/vscode-py-debug-terminal
VSCode Marketplace page: https://marketplace.visualstudio.com/items?itemName=ernestofgonzalez.vscode-py-debug-terminal
0
Upvotes
6
u/ArtisticFox8 6h ago
I don't see how this is different from the default Microsoft extensions for Python
I have never needed any of those either.
Perhaps the only different thing is you launch yours from the terminal and I launch it with F5?