Debugger does not work
See original GitHub issueAn update broke all debugging functionality for me; it was previously working fine.
Does this issue occur when all extensions are disabled?: YNo No: You can’t run a python debug session without the python extension. It occurs when all other extensions are disabled.
Otherwise please fill in the requested details below. “XXX” markers should not be present in the final bug report. –>
Environment data
- VSCode Version: 1.23.1
- OS Version: Mac OS 10.13.4
- Extension version (available under the Extensions sidebar): 2018.4.0
- Python version (& distribution if applicable, e.g. Anaconda): brew, anaconda, tried them all
- Type of virtual environment used (N/A | venv | virtualenv | conda | …): tried pipenv and global
- Relevant/affected Python packages and their versions: N/A
- Occurs with integrated or external console
- Happens with bash and fish as configured shell
Actual behavior
Expected behavior
Debugger attaches.
Steps to reproduce:
- Make new project (
mkdir test-py
) - Open in vscode(
code ./test-py
) - Make new file
hello.py
- Make new line
print('hello world')
- Save
- Hit F5
Issue Analytics
- State:
- Created 5 years ago
- Comments:11 (1 by maintainers)
Top Results From Across the Web
visual studio - Why the debugger doesn't work - Stack Overflow
15 Answers 15 · +1: Logic Errors are the most common reason for "debugger is not working". – S. · I've rebuilt my...
Read more >Visual Studio Community 2017 Debugger not working correctly
The application I am not getting the debuger to work on is an older Visual Studio 2008 program that was upgraded to Visual...
Read more >Debugging in VS Code suddenly stopped working
Hi everyone, I'm having some trouble debugging my julia code in VS Code and it's getting me out of my mind. It possibly...
Read more >Troubleshoot Breakpoints in the Visual Studio Debugger
If a source file has changed and the source no longer matches the code you're debugging, the debugger won't set breakpoints in the...
Read more >the debugger does not work, does not stop on breakpoints
The debugger does not stop at breakpoints, or otherwise seem to work. The only result I have seen in the debugger is that...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
You’re a genius! After finding this thread it turns out that I did incorrectly edit my
/etc/hosts
file and localhost wasn’t working properly. I’ve fixed it and the server is now launching and the debugger works properly. Thanks so much for your help with all this.@SheepDomination please open a new issue.