From 9a9b6eddcbc15d579655b0c2401067deabbfc408 Mon Sep 17 00:00:00 2001 From: Andrew Schwartzmeyer Date: Thu, 21 Jul 2016 16:18:32 -0700 Subject: [PATCH] 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. --- .vscode/launch.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.vscode/launch.json b/.vscode/launch.json index afd0d5d0b4..68e67953b4 100644 --- a/.vscode/launch.json +++ b/.vscode/launch.json @@ -8,8 +8,8 @@ "justMyCode": false, "stopAtEntry": true, "program": "${workspaceRoot}/debug/powershell", - "args": [ "-NonInteractive" ], "preLaunchTask": "build", + "externalConsole": true, "cwd": "${workspaceRoot}" }, {