mirror of
https://github.com/PowerShell/PowerShell
synced 2026-06-08 12:12:50 +00:00
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:
Vendored
+1
-1
@@ -8,8 +8,8 @@
|
||||
"justMyCode": false,
|
||||
"stopAtEntry": true,
|
||||
"program": "${workspaceRoot}/debug/powershell",
|
||||
"args": [ "-NonInteractive" ],
|
||||
"preLaunchTask": "build",
|
||||
"externalConsole": true,
|
||||
"cwd": "${workspaceRoot}"
|
||||
},
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user