Home > Net >  vscode "Run Without Debugging" doesn't open Python Debug Console
vscode "Run Without Debugging" doesn't open Python Debug Console

Time:07-18

VSCode's "Run Without Debugging" runs the python file (I can tell from time passing) but it doesn't open any panel/terminal to show the output.

I have uninstalled/reinstalled the Microsoft python extension, and run the above experiment outside of any workspace, in a brand new directory with a single "test.py" file, after quitting/reopening VSCode.

How do I get VSCode to open the "Python Debug Console" upon "Run Without Debugging"?

CodePudding user response:

You can set the contents of pythonpath in your setting.json manually.

"python.pythonpPath":"the location of your python.exe" #Note that python.EXE is used here. If you use conda environment, the default configuration may be set to pythonw.exe

CodePudding user response:

At the top of the menu bar theres a tab named "Terminal" click that and then hit new terminal

  • Related