I have an old app in node.js. This application runs on external terminal with this launch.json configuration:
{
// Use IntelliSense to learn about possible Node.js debug attributes.
// Hover to view descriptions of existing attributes.
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
"version": "0.2.0",
"configurations": [
{
"type": "node",
"request": "launch",
"name": "Launch Program",
"program": "${workspaceRoot}/app.js",
"cwd": "${workspaceRoot}",
"console": "externalTerminal"
},
{
"type": "node",
"request": "launch",
"name": "Attach to Process",
"port": 5858
}
]
}
But when I have updated to vscode version 1.8, the application does not run anymore.
It runs fine on integrated terminal, but not in external. I need it runs on external terminal.
I have tried to set this vscode settings with no luck:
"terminal.integrated.shell.windows": "C:\\Windows\\sysnative\\cmd.exe",
//"terminal.external.windowsExec": "C:/Windows/System32/cmd.exe"
"terminal.external.windowsExec": "%COMSPEC%"
I have asked this same with screenshot on stackoverflow:
http://stackoverflow.com/questions/42905423/vscode-1-10-2-cannot-launch-debug-target-in-terminal
- VSCode Version: 1.10.2
- OS Version: Windows 10 Pro
Steps to Reproduce:
- Install vscode 1.8 and execute the application (F5) in external terminal. It runs fine.
- Install vscode 1.10.2 (last) and execute the application (F5) in external terminal. It throws an error:
Cannot launch debug target in terminal (Cannot convert undefined or null to object).
I have an old app in node.js. This application runs on external terminal with this
launch.jsonconfiguration:{ // Use IntelliSense to learn about possible Node.js debug attributes. // Hover to view descriptions of existing attributes. // For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387 "version": "0.2.0", "configurations": [ { "type": "node", "request": "launch", "name": "Launch Program", "program": "${workspaceRoot}/app.js", "cwd": "${workspaceRoot}", "console": "externalTerminal" }, { "type": "node", "request": "launch", "name": "Attach to Process", "port": 5858 } ] }But when I have updated to vscode version 1.8, the application does not run anymore.
It runs fine on integrated terminal, but not in external. I need it runs on external terminal.
I have tried to set this vscode settings with no luck:
I have asked this same with screenshot on stackoverflow:
http://stackoverflow.com/questions/42905423/vscode-1-10-2-cannot-launch-debug-target-in-terminal
Steps to Reproduce:
Cannot launch debug target in terminal (Cannot convert undefined or null to object).