Skip to content

Commit

Permalink
Enable external console for VS Code debugging
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
andyleejordan committed Jul 21, 2016
1 parent 042d1e9 commit 9a9b6ed
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .vscode/launch.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@
"justMyCode": false,
"stopAtEntry": true,
"program": "${workspaceRoot}/debug/powershell",
"args": [ "-NonInteractive" ],
"preLaunchTask": "build",
"externalConsole": true,
"cwd": "${workspaceRoot}"
},
{
Expand Down

0 comments on commit 9a9b6ed

Please sign in to comment.