Skip to content

Commit cda014d

Browse files
committed
Merge pull request #111 from rkeithhill/rkeithhill/update-for-winx86
Update 'PowerShell' debug init config to offer both any & x86 dbgrs.
2 parents 7cd3f99 + febff41 commit cda014d

File tree

1 file changed

+17
-2
lines changed

1 file changed

+17
-2
lines changed

package.json

+17-2
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,12 @@
112112
"powershell"
113113
]
114114
},
115-
"program": "bin/Microsoft.PowerShell.EditorServices.Host.exe",
115+
"windows": {
116+
"program": "bin/Microsoft.PowerShell.EditorServices.Host.exe"
117+
},
118+
"winx86": {
119+
"program": "bin/Microsoft.PowerShell.EditorServices.Host.x86.exe"
120+
},
116121
"args": [
117122
"/debugAdapter"
118123
],
@@ -150,6 +155,14 @@
150155
"program": "${file}",
151156
"args": [],
152157
"cwd": "${file}"
158+
},
159+
{
160+
"name": "PowerShell x86",
161+
"type": "PowerShell x86",
162+
"request": "launch",
163+
"program": "${file}",
164+
"args": [],
165+
"cwd": "${file}"
153166
}
154167
]
155168
},
@@ -160,7 +173,9 @@
160173
"powershell"
161174
]
162175
},
163-
"program": "bin/Microsoft.PowerShell.EditorServices.Host.x86.exe",
176+
"windows": {
177+
"program": "bin/Microsoft.PowerShell.EditorServices.Host.x86.exe"
178+
},
164179
"args": [
165180
"/debugAdapter"
166181
],

0 commit comments

Comments
 (0)