-
Notifications
You must be signed in to change notification settings - Fork 38.1k
Closed
Labels
bugIssue identified by VS Code Team member as probable bugIssue identified by VS Code Team member as probable bugdebugDebug viewlet, configurations, breakpoints, adapter issuesDebug viewlet, configurations, breakpoints, adapter issuesverifiedVerification succeededVerification succeeded
Milestone
Description
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).
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugIssue identified by VS Code Team member as probable bugIssue identified by VS Code Team member as probable bugdebugDebug viewlet, configurations, breakpoints, adapter issuesDebug viewlet, configurations, breakpoints, adapter issuesverifiedVerification succeededVerification succeeded