Skip to content

Commit 33b2c01

Browse files
author
Ognjen Sobajic
committed
Updating launch.json with David's fix
1 parent 141dff2 commit 33b2c01

File tree

1 file changed

+124
-31
lines changed

1 file changed

+124
-31
lines changed

SampleApps/WebView2APISample/.vscode/launch.json

Lines changed: 124 additions & 31 deletions
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,10 @@
66
"type": "edge",
77
"request": "launch",
88
"cwd": "${workspaceFolder}",
9-
"runtimeExecutable": "${workspaceFolder}/Debug/x64/WebView2APISample.exe",
9+
"runtimeExecutable": "${workspaceFolder}/../../../../out/debug_x64/WebView2APISample.exe",
1010
"env": {
1111
// customize for your build location
12-
"Path": "%path%;${workspaceFolder}/Debug/x64"
12+
"Path": "%path%;${workspaceFolder}/x64/Debug"
1313
},
1414
"useWebView": true
1515
},
@@ -18,10 +18,10 @@
1818
"type": "edge",
1919
"request": "launch",
2020
"cwd": "${workspaceFolder}",
21-
"runtimeExecutable": "${workspaceFolder}/Debug/Win32/WebView2APISample.exe",
21+
"runtimeExecutable": "${workspaceFolder}/../../../../out/debug_x86/WebView2APISample.exe",
2222
"env": {
2323
// customize for your build location
24-
"Path": "%path%;${workspaceFolder}/Debug/Win32"
24+
"Path": "%path%;${workspaceFolder}/x86/Debug"
2525
},
2626
"useWebView": true
2727
},
@@ -30,10 +30,10 @@
3030
"type": "edge",
3131
"request": "launch",
3232
"cwd": "${workspaceFolder}",
33-
"runtimeExecutable": "${workspaceFolder}/Debug/arm64/WebView2APISample.exe",
33+
"runtimeExecutable": "${workspaceFolder}/../../../../out/debug_arm64/WebView2APISample.exe",
3434
"env": {
3535
// customize for your build location
36-
"Path": "%path%;${workspaceFolder}/Debug/arm64"
36+
"Path": "%path%;${workspaceFolder}/arm64/Debug"
3737
},
3838
"useWebView": true
3939
},
@@ -42,10 +42,10 @@
4242
"type": "edge",
4343
"request": "launch",
4444
"cwd": "${workspaceFolder}",
45-
"runtimeExecutable": "${workspaceFolder}/Release/x64/WebView2APISample.exe",
45+
"runtimeExecutable": "${workspaceFolder}/../../../../out/release_x64/WebView2APISample.exe",
4646
"env": {
4747
// customize for your build location
48-
"Path": "%path%;${workspaceFolder}/Release/x64"
48+
"Path": "%path%;${workspaceFolder}/x64/Release"
4949
},
5050
"useWebView": true
5151
},
@@ -54,10 +54,10 @@
5454
"type": "edge",
5555
"request": "launch",
5656
"cwd": "${workspaceFolder}",
57-
"runtimeExecutable": "${workspaceFolder}/Release/Win32/WebView2APISample.exe",
57+
"runtimeExecutable": "${workspaceFolder}/../../../../out/release_x86/WebView2APISample.exe",
5858
"env": {
5959
// customize for your build location
60-
"Path": "%path%;${workspaceFolder}/Release/Win32"
60+
"Path": "%path%;${workspaceFolder}/x86/Release"
6161
},
6262
"useWebView": true
6363
},
@@ -66,10 +66,10 @@
6666
"type": "edge",
6767
"request": "launch",
6868
"cwd": "${workspaceFolder}",
69-
"runtimeExecutable": "${workspaceFolder}/Release/arm64/WebView2APISample.exe",
69+
"runtimeExecutable": "${workspaceFolder}/../../../../out/release_arm64/WebView2APISample.exe",
7070
"env": {
7171
// customize for your build location
72-
"Path": "%path%;${workspaceFolder}/Release/arm64"
72+
"Path": "%path%;${workspaceFolder}/arm64/Release"
7373
},
7474
"useWebView": true
7575
},
@@ -78,72 +78,84 @@
7878
"type": "pwa-msedge",
7979
"request": "launch",
8080
"cwd": "${workspaceFolder}",
81-
"runtimeExecutable": "${workspaceFolder}/Debug/x64/WebView2APISample.exe",
81+
"runtimeExecutable": "${workspaceFolder}/../../../../out/debug_x64/WebView2APISample.exe",
8282
"env": {
8383
// customize for your build location
84-
"Path": "%path%;${workspaceFolder}/Debug/x64"
84+
"Path": "%path%;${workspaceFolder}/x64/Debug"
8585
},
86-
"useWebView": "true"
86+
"useWebView": true,
87+
"url": "file:///${workspaceFolder}/assets/ScenarioJavaScriptDebugIndex.html",
88+
"webRoot": "${workspaceFolder}/assets"
8789
},
8890
{
8991
"name": "JavaScript Debugger(Nightly): Sample app (Script Debug|x86)",
9092
"type": "pwa-msedge",
9193
"request": "launch",
9294
"cwd": "${workspaceFolder}",
93-
"runtimeExecutable": "${workspaceFolder}/Debug/Win32/WebView2APISample.exe",
95+
"runtimeExecutable": "${workspaceFolder}/../../../../out/debug_x86/WebView2APISample.exe",
9496
"env": {
9597
// customize for your build location
96-
"Path": "%path%;${workspaceFolder}/Debug/Win32"
98+
"Path": "%path%;${workspaceFolder}/x86/Debug"
9799
},
98-
"useWebView": "true"
100+
"useWebView": true,
101+
"url": "file:///${workspaceFolder}/assets/ScenarioJavaScriptDebugIndex.html",
102+
"webRoot": "${workspaceFolder}/assets"
99103
},
100104
{
101105
"name": "JavaScript Debugger(Nightly): Sample app (Script Debug|ARM64)",
102106
"type": "pwa-msedge",
103107
"request": "launch",
104108
"cwd": "${workspaceFolder}",
105-
"runtimeExecutable": "${workspaceFolder}/Debug/arm64/WebView2APISample.exe",
109+
"runtimeExecutable": "${workspaceFolder}/../../../../out/debug_arm64/WebView2APISample.exe",
106110
"env": {
107111
// customize for your build location
108-
"Path": "%path%;${workspaceFolder}/Debug/arm64"
112+
"Path": "%path%;${workspaceFolder}/arm64/Debug"
109113
},
110-
"useWebView": "true"
114+
"useWebView": true,
115+
"url": "file:///${workspaceFolder}/assets/ScenarioJavaScriptDebugIndex.html",
116+
"webRoot": "${workspaceFolder}/assets"
111117
},
112118
{
113119
"name": "JavaScript Debugger(Nightly): Sample app (Script Release|x64)",
114120
"type": "pwa-msedge",
115121
"request": "launch",
116122
"cwd": "${workspaceFolder}",
117-
"runtimeExecutable": "${workspaceFolder}/Release/x64/WebView2APISample.exe",
123+
"runtimeExecutable": "${workspaceFolder}/../../../../out/release_x64/WebView2APISample.exe",
118124
"env": {
119125
// customize for your build location
120-
"Path": "%path%;${workspaceFolder}/Release/x64"
126+
"Path": "%path%;${workspaceFolder}/x64/Release"
121127
},
122-
"useWebView": "true"
128+
"useWebView": true,
129+
"url": "file:///${workspaceFolder}/assets/ScenarioJavaScriptDebugIndex.html",
130+
"webRoot": "${workspaceFolder}/assets"
123131
},
124132
{
125133
"name": "JavaScript Debugger(Nightly): Sample app (Script Release|x86)",
126134
"type": "pwa-msedge",
127135
"request": "launch",
128136
"cwd": "${workspaceFolder}",
129-
"runtimeExecutable": "${workspaceFolder}/Release/Win32/WebView2APISample.exe",
137+
"runtimeExecutable": "${workspaceFolder}/../../../../out/release_x86/WebView2APISample.exe",
130138
"env": {
131139
// customize for your build location
132-
"Path": "%path%;${workspaceFolder}/Release/Win32"
140+
"Path": "%path%;${workspaceFolder}/x86/Release"
133141
},
134-
"useWebView": "true"
142+
"useWebView": true,
143+
"url": "file:///${workspaceFolder}/assets/ScenarioJavaScriptDebugIndex.html",
144+
"webRoot": "${workspaceFolder}/assets"
135145
},
136146
{
137147
"name": "JavaScript Debugger(Nightly): Sample app (Script Release|ARM64)",
138148
"type": "pwa-msedge",
139149
"request": "launch",
140150
"cwd": "${workspaceFolder}",
141-
"runtimeExecutable": "${workspaceFolder}/Release/arm64/WebView2APISample.exe",
151+
"runtimeExecutable": "${workspaceFolder}/../../../../out/release_arm64/WebView2APISample.exe",
142152
"env": {
143153
// customize for your build location
144-
"Path": "%path%;${workspaceFolder}/Release/arm64"
154+
"Path": "%path%;${workspaceFolder}/arm64/Release"
145155
},
146-
"useWebView": "true"
156+
"useWebView": true,
157+
"url": "file:///${workspaceFolder}/assets/ScenarioJavaScriptDebugIndex.html",
158+
"webRoot": "${workspaceFolder}/assets"
147159
},
148160
{
149161
"name": "Debugger For Microsoft Edge: Attach to Edge",
@@ -159,11 +171,92 @@
159171
"request": "attach",
160172
"webRoot": "${workspaceFolder}"
161173
},
174+
{
175+
"name": "Debugger For Microsoft Edge: Sample app-Targeted (Script Release|x64)",
176+
"type": "edge",
177+
"request": "launch",
178+
"cwd": "${workspaceFolder}",
179+
"runtimeExecutable": "${workspaceFolder}/../../../../out/debug_x64/WebView2APISample.exe",
180+
"env": {
181+
// customize for your build location
182+
"Path": "%path%;${workspaceFolder}/x64/Debug;"
183+
},
184+
"urlFilter": "*debugCase*",
185+
"useWebView": "advanced"
186+
},
187+
{
188+
"name": "Debugger For Microsoft Edge: Sample app-Targeted (Script Release|x86)",
189+
"type": "edge",
190+
"request": "launch",
191+
"cwd": "${workspaceFolder}",
192+
"runtimeExecutable": "${workspaceFolder}/../../../../out/debug_x86/WebView2APISample.exe",
193+
"env": {
194+
// customize for your build location
195+
"Path": "%path%;${workspaceFolder}/x86/Debug;"
196+
},
197+
"urlFilter": "*debugCase*",
198+
"useWebView": "advanced"
199+
},
200+
{
201+
"name": "Debugger For Microsoft Edge: Sample app-Targeted (Script Release|ARM64)",
202+
"type": "edge",
203+
"request": "launch",
204+
"cwd": "${workspaceFolder}",
205+
"runtimeExecutable": "${workspaceFolder}/../../../../out/debug_arm64/WebView2APISample.exe",
206+
"env": {
207+
// customize for your build location
208+
"Path": "%path%;${workspaceFolder}/arm64/Debug;"
209+
},
210+
"urlFilter": "*debugCase*",
211+
"useWebView": "advanced"
212+
},
213+
// TODO: Bug 27536687
214+
{
215+
"name": "JavaScript Debugger(Nightly): Sample app-Targeted (Script Release|x64)",
216+
"type": "pwa-msedge",
217+
"request": "launch",
218+
"cwd": "${workspaceFolder}",
219+
"runtimeExecutable": "${workspaceFolder}/../../../../out/debug_x64/WebView2APISample.exe",
220+
"env": {
221+
// customize for your build location
222+
"Path": "%path%;${workspaceFolder}/x64/Debug;"
223+
},
224+
"urlFilter": "*debugCase*",
225+
"useWebView": "advanced"
226+
},
227+
// TODO: Bug 27536687
228+
{
229+
"name": "JavaScript Debugger(Nightly): Sample app-Targeted (Script Release|x86)",
230+
"type": "pwa-msedge",
231+
"request": "launch",
232+
"cwd": "${workspaceFolder}",
233+
"runtimeExecutable": "${workspaceFolder}/../../../../out/debug_x86/WebView2APISample.exe",
234+
"env": {
235+
// customize for your build location
236+
"Path": "%path%;${workspaceFolder}/x86/Debug;"
237+
},
238+
"urlFilter": "*debugCase*",
239+
"useWebView": "advanced"
240+
},
241+
// TODO: Bug 27536687
242+
{
243+
"name": "JavaScript Debugger(Nightly): Sample app-Targeted (Script Release|ARM64)",
244+
"type": "pwa-msedge",
245+
"request": "launch",
246+
"cwd": "${workspaceFolder}",
247+
"runtimeExecutable": "${workspaceFolder}/../../../../out/debug_arm64/WebView2APISample.exe",
248+
"env": {
249+
// customize for your build location
250+
"Path": "%path%;${workspaceFolder}/arm64/Debug;"
251+
},
252+
"urlFilter": "*debugCase*",
253+
"useWebView": "advanced"
254+
},
162255
{
163256
"name": "Sample app (debug app)",
164257
"type": "cppvsdbg",
165258
"request": "launch",
166-
"program": "${workspaceFolder}/Debug/x64/WebView2APISample.exe",
259+
"program": "${workspaceFolder}/../../../../out/debug_x64/WebView2APISample.exe",
167260
"args": [],
168261
"preLaunchTask": "",
169262
"stopAtEntry": false,

0 commit comments

Comments
 (0)