The accepted answer did not work for me, as it is not suitable for my version of VSCode Version 1.30.2 (1.30.2):
Unknown console type 'none'.
The solution for me was to use a parameter instead internalConsole. I believe this should be the default for the integratedTerminalterminal option in my version.
Here is an example:
NOTE: this is an example from my nodejs project but the console portion is still relevant regardless of project type. have included more to show some context as well as other features such as envFile usage.
...
{
"type": "node",
"request": "launch",
"name": "Launch Program",
"envFile": "${workspaceRoot}/.env",
"program": "${workspaceFolder}/src/index.js",
"autoAttachChildProcesses": true,
"console": "internalConsole"
},
...
source
share