From febff4168cc36c37956d07627c212f70deb12157 Mon Sep 17 00:00:00 2001 From: Keith Hill Date: Wed, 9 Mar 2016 19:23:24 -0700 Subject: [PATCH] Update 'PowerShell' debug init config to offer both any & x86 dbgrs. Also decided to use the new OS specifiers for 'windows' and 'winx86'. I *think* this will disallow folks on Mac and Linux to launch a debugger that won't work. --- package.json | 19 +++++++++++++++++-- 1 file changed, 17 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index 29985f3f4e..9dabefa369 100644 --- a/package.json +++ b/package.json @@ -112,7 +112,12 @@ "powershell" ] }, - "program": "bin/Microsoft.PowerShell.EditorServices.Host.exe", + "windows": { + "program": "bin/Microsoft.PowerShell.EditorServices.Host.exe" + }, + "winx86": { + "program": "bin/Microsoft.PowerShell.EditorServices.Host.x86.exe" + }, "args": [ "/debugAdapter" ], @@ -150,6 +155,14 @@ "program": "${file}", "args": [], "cwd": "${file}" + }, + { + "name": "PowerShell x86", + "type": "PowerShell x86", + "request": "launch", + "program": "${file}", + "args": [], + "cwd": "${file}" } ] }, @@ -160,7 +173,9 @@ "powershell" ] }, - "program": "bin/Microsoft.PowerShell.EditorServices.Host.x86.exe", + "windows": { + "program": "bin/Microsoft.PowerShell.EditorServices.Host.x86.exe" + }, "args": [ "/debugAdapter" ],