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.

Notification when starting debugging and no interpreter has been selected

See original GitHub issue

If you start debugging and no environment is selected, you just get an error with no explanation.

I suggest if no Python environment is selected, we pop up a notification:

You need to select a Python interpreter before you start debugging. 
Tip: click on "Select Python Environment" in the status bar.

[ Select Python Interpreter ] 

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:15 (2 by maintainers)

github_iconTop GitHub Comments

1reaction
qubitroncommented, Sep 15, 2018

Also I noticed the select python environment is not visible in your gif, is there anyway to have that take priority over the other items in the status bar?

1reaction
qubitroncommented, Sep 15, 2018

Let’s go without the weird behavior and no button, at least that way the user for sure will learn how to use the interpreter selector!

Read more comments on GitHub >

github_iconTop Results From Across the Web

"Invalid python interpreter selected" prompt vscode
For this, use Ctrl + Shift + P to open the command palette. Then, enter Python: Clear Workspace Interpreter Setting . On the...
Read more >
Troubleshooting common PHP debugging issues | PhpStorm ...
To have PhpStorm display a notification if the script is not suspended, select the Notify if debug session was finished without being paused ......
Read more >
Python in Visual Studio tutorial step 4, debugging
If this happens, right-click the project in Solution Explorer, select Properties, select the Debug tab, then add -i to the Interpreter Arguments ......
Read more >
Work in Windows Subsystem for Linux with Visual Studio Code
Select OK and you will be prompted to restart Windows. ... you can check that you have WSL enabled by opening a Command...
Read more >
The Visual Studio Code editor, Python interpreter and built-in ...
You might only notice this when trying to execute the next program, which simply will not run because the previous execution is still...
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