microsoft / microsoft/vscode-python-debugger
Debugging to the end of a file causes the debug terminal to be killed
Open
@eleanorjboyd is already working on this.
Since Nov 4, 2025.
triage-needed
- Dominant language
- TypeScript
- Stars
- 181
- Forks
- 126
- Avg merge
- 2d 3h
- Merged PRs (30d)
- 3
Description
Testing #859
I'm using an Ubuntu WSL instance with pwsh as the default terminal profile.
After I debug a file in Python, I want to see the result of the run, but the debugging terminal tab is killed seconds after the debugger reaches the end of the file.
Edit: I'm unable to reproduce the issue when I switch the default terminal profile to bash.
Output shown before the tab goes away
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.