question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Debugger does not work

See original GitHub issue

An 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

image

Expected behavior

Debugger attaches.

Steps to reproduce:

  1. Make new project (mkdir test-py)
  2. Open in vscode( code ./test-py)
  3. Make new file hello.py
  4. Make new line print('hello world')
  5. Save
  6. Hit F5

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:11 (1 by maintainers)

github_iconTop GitHub Comments

1reaction
noahmaccacommented, Jun 5, 2018

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.

0reactions
brettcannoncommented, Jun 11, 2018

@SheepDomination please open a new issue.

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found