0

I am new to VScode so sorry if this is a silly question.

I am trying to configure VS-code to use command prompt instead of powershell while running/debugging. I tried the instructions at: The new way to configure default shell and argument commands in VSCode? but it doesn't seem to be working.

I have added

    "terminal.integrated.profiles.windows": {
    "Command Prompt": {
        "path": [
            "${env:windir}\\Sysnative\\cmd.exe",
            "${env:windir}\\System32\\cmd.exe"
        ],
        "args": [],
        "icon": "terminal-cmd"
    },
},
"terminal.integrated.defaultProfile.windows": "Command Prompt",

to the bottom of my settings.json file. However when I try to run a python file it still runs it in powershell: enter image description here

Thanks in advance!

Mohit
  • 125
  • 6
  • 2
    this is known bug and it will be fixed in the next version 1.60.1 – adam Sep 09 '21 at 23:58
  • Does this answer your question? [VSCode is suddenly defaulting to powershell for integrated terminal and tasks](https://stackoverflow.com/questions/69047142/vscode-is-suddenly-defaulting-to-powershell-for-integrated-terminal-and-tasks) – Timothy G. Sep 10 '21 at 12:02
  • @Timothy G. and adam, Yes this answers my question. Thanks! – Mohit Sep 11 '21 at 15:38

0 Answers0