Enable external console for VS Code debugging

Instead of half-running PowerShell with -noninteractive (and expecting
the user debugging to enter more arguments), the latest stable version
of VS Code allows us to launch an external console. This requires either
Gnome Terminal or xterm (sadly not Xfce Terminal), but given either (and
xterm is almost always available to install), we can now launch an
interactive PowerShell session to debug.
This commit is contained in:
Andrew Schwartzmeyer 2016-07-21 16:18:32 -07:00
parent 042d1e99bb
commit 9a9b6eddcb

2
.vscode/launch.json vendored
View File

@ -8,8 +8,8 @@
"justMyCode": false, "justMyCode": false,
"stopAtEntry": true, "stopAtEntry": true,
"program": "${workspaceRoot}/debug/powershell", "program": "${workspaceRoot}/debug/powershell",
"args": [ "-NonInteractive" ],
"preLaunchTask": "build", "preLaunchTask": "build",
"externalConsole": true,
"cwd": "${workspaceRoot}" "cwd": "${workspaceRoot}"
}, },
{ {