Can´t run python files anymore Visual Studio Code - visual-studio-code

Out of the blue VSCode stopped running my python files. When I try to run it the python terminal opens but nothing happens. When I try to debug it says "timed out waiting for launcher to connect".
Has anyone a solution?

This worked for me:
Changing your "integratedTerminal" shell to cmd.exe will fix it, because it's using "PowerShell".
Open a new terminal pane : Press Ctrl+` (or View > Terminal in menu)
Open a "Command Prompt" Open a "Command Prompt"
Switch "cmd" to default (DO NOT switch to PowerShell)
Switch to default profile

Related

How to open VSCode from command prompt as its own thread without hijacking the terminal?

On Windows, when I open a folder from the terminal in VSCode with the "code ." command, it opens VSCode correctly but the terminal window becomes a slave, running all console commands from the app without returning command to me. If I close the terminal, VSCode also closes, it seems that the application thread is being run as child of the terminal process that gets killed with its parent. The same does not happen with "xp . ", my shortcut for the file explorer.
My question is how to make VSCode open as its own process letting the terminal be free.
Found the solution:
cmd /c start "VSCode" "code.exe" .

Hide CMD After opening VScode from Run window in Windows

I am trying to hide CMD After opening VSCode from Run window in Windows and don't work, I test those solutions
How to exit Command Prompt after launching VSCode
But it didn't work.

Whenever I open terminal in visual studio code the terminal is blank and cant type a single word in it

Whenever I try to open terminal of visual studio code my terminal remains blank and I am not able to type anything in the terminal I have switched power shell to command prompt but the same issue persist I have included the screenshot
Try opening VSC as an administrator

What's the command to open a new integrated terminal from within the integrated terminal in vscode?

I'm trying to setup a chain of tasks that need a terminal for each one. To do so, I need to use a command that opens a new integrated terminal tab from a previous integrated terminal. Is there any way to do so in vs-code integrated terminal?
In mac I would use
open -a Terminal
Or something like ttab that immediately opens a tab in the current iterm terminal.
Thanks
(edited: I'm looking for a command to type in the terminal, not hotkeys)
Ctrl+Shift+` (Tilda) is the keyboard shortcut to open another terminal on Windows.
Cmd+Shift+` (Tilda) is the keyboard shortcut to open another terminal on Mac.

Console.log messages do not appear in VSCode terminal window

I'm doing an Electron tutorial using VSCode as my editor in Windows 10.
My main.js file contains only one line: console.log('main!');
When I open the terminal view (Ctrl+`) in VSCode and type "npm start" the console.log command does not display.
However, when I open a cmd.exe to and run "npm start" the "main!" console.log command appears.
I've tried changing the default terminal for VSCode to cmd.exe instead of powershell but had the same results.
What can I do to get my console.log command to appear in the VSCode terminal window?