Skip to content

Commit

Permalink
Updating launch.json with David's fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Ognjen Sobajic committed Apr 21, 2021
1 parent 141dff2 commit 33b2c01
Showing 1 changed file with 124 additions and 31 deletions.
155 changes: 124 additions & 31 deletions SampleApps/WebView2APISample/.vscode/launch.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,10 @@
"type": "edge",
"request": "launch",
"cwd": "${workspaceFolder}",
"runtimeExecutable": "${workspaceFolder}/Debug/x64/WebView2APISample.exe",
"runtimeExecutable": "${workspaceFolder}/../../../../out/debug_x64/WebView2APISample.exe",
"env": {
// customize for your build location
"Path": "%path%;${workspaceFolder}/Debug/x64"
"Path": "%path%;${workspaceFolder}/x64/Debug"
},
"useWebView": true
},
Expand All @@ -18,10 +18,10 @@
"type": "edge",
"request": "launch",
"cwd": "${workspaceFolder}",
"runtimeExecutable": "${workspaceFolder}/Debug/Win32/WebView2APISample.exe",
"runtimeExecutable": "${workspaceFolder}/../../../../out/debug_x86/WebView2APISample.exe",
"env": {
// customize for your build location
"Path": "%path%;${workspaceFolder}/Debug/Win32"
"Path": "%path%;${workspaceFolder}/x86/Debug"
},
"useWebView": true
},
Expand All @@ -30,10 +30,10 @@
"type": "edge",
"request": "launch",
"cwd": "${workspaceFolder}",
"runtimeExecutable": "${workspaceFolder}/Debug/arm64/WebView2APISample.exe",
"runtimeExecutable": "${workspaceFolder}/../../../../out/debug_arm64/WebView2APISample.exe",
"env": {
// customize for your build location
"Path": "%path%;${workspaceFolder}/Debug/arm64"
"Path": "%path%;${workspaceFolder}/arm64/Debug"
},
"useWebView": true
},
Expand All @@ -42,10 +42,10 @@
"type": "edge",
"request": "launch",
"cwd": "${workspaceFolder}",
"runtimeExecutable": "${workspaceFolder}/Release/x64/WebView2APISample.exe",
"runtimeExecutable": "${workspaceFolder}/../../../../out/release_x64/WebView2APISample.exe",
"env": {
// customize for your build location
"Path": "%path%;${workspaceFolder}/Release/x64"
"Path": "%path%;${workspaceFolder}/x64/Release"
},
"useWebView": true
},
Expand All @@ -54,10 +54,10 @@
"type": "edge",
"request": "launch",
"cwd": "${workspaceFolder}",
"runtimeExecutable": "${workspaceFolder}/Release/Win32/WebView2APISample.exe",
"runtimeExecutable": "${workspaceFolder}/../../../../out/release_x86/WebView2APISample.exe",
"env": {
// customize for your build location
"Path": "%path%;${workspaceFolder}/Release/Win32"
"Path": "%path%;${workspaceFolder}/x86/Release"
},
"useWebView": true
},
Expand All @@ -66,10 +66,10 @@
"type": "edge",
"request": "launch",
"cwd": "${workspaceFolder}",
"runtimeExecutable": "${workspaceFolder}/Release/arm64/WebView2APISample.exe",
"runtimeExecutable": "${workspaceFolder}/../../../../out/release_arm64/WebView2APISample.exe",
"env": {
// customize for your build location
"Path": "%path%;${workspaceFolder}/Release/arm64"
"Path": "%path%;${workspaceFolder}/arm64/Release"
},
"useWebView": true
},
Expand All @@ -78,72 +78,84 @@
"type": "pwa-msedge",
"request": "launch",
"cwd": "${workspaceFolder}",
"runtimeExecutable": "${workspaceFolder}/Debug/x64/WebView2APISample.exe",
"runtimeExecutable": "${workspaceFolder}/../../../../out/debug_x64/WebView2APISample.exe",
"env": {
// customize for your build location
"Path": "%path%;${workspaceFolder}/Debug/x64"
"Path": "%path%;${workspaceFolder}/x64/Debug"
},
"useWebView": "true"
"useWebView": true,
"url": "file:///${workspaceFolder}/assets/ScenarioJavaScriptDebugIndex.html",
"webRoot": "${workspaceFolder}/assets"
},
{
"name": "JavaScript Debugger(Nightly): Sample app (Script Debug|x86)",
"type": "pwa-msedge",
"request": "launch",
"cwd": "${workspaceFolder}",
"runtimeExecutable": "${workspaceFolder}/Debug/Win32/WebView2APISample.exe",
"runtimeExecutable": "${workspaceFolder}/../../../../out/debug_x86/WebView2APISample.exe",
"env": {
// customize for your build location
"Path": "%path%;${workspaceFolder}/Debug/Win32"
"Path": "%path%;${workspaceFolder}/x86/Debug"
},
"useWebView": "true"
"useWebView": true,
"url": "file:///${workspaceFolder}/assets/ScenarioJavaScriptDebugIndex.html",
"webRoot": "${workspaceFolder}/assets"
},
{
"name": "JavaScript Debugger(Nightly): Sample app (Script Debug|ARM64)",
"type": "pwa-msedge",
"request": "launch",
"cwd": "${workspaceFolder}",
"runtimeExecutable": "${workspaceFolder}/Debug/arm64/WebView2APISample.exe",
"runtimeExecutable": "${workspaceFolder}/../../../../out/debug_arm64/WebView2APISample.exe",
"env": {
// customize for your build location
"Path": "%path%;${workspaceFolder}/Debug/arm64"
"Path": "%path%;${workspaceFolder}/arm64/Debug"
},
"useWebView": "true"
"useWebView": true,
"url": "file:///${workspaceFolder}/assets/ScenarioJavaScriptDebugIndex.html",
"webRoot": "${workspaceFolder}/assets"
},
{
"name": "JavaScript Debugger(Nightly): Sample app (Script Release|x64)",
"type": "pwa-msedge",
"request": "launch",
"cwd": "${workspaceFolder}",
"runtimeExecutable": "${workspaceFolder}/Release/x64/WebView2APISample.exe",
"runtimeExecutable": "${workspaceFolder}/../../../../out/release_x64/WebView2APISample.exe",
"env": {
// customize for your build location
"Path": "%path%;${workspaceFolder}/Release/x64"
"Path": "%path%;${workspaceFolder}/x64/Release"
},
"useWebView": "true"
"useWebView": true,
"url": "file:///${workspaceFolder}/assets/ScenarioJavaScriptDebugIndex.html",
"webRoot": "${workspaceFolder}/assets"
},
{
"name": "JavaScript Debugger(Nightly): Sample app (Script Release|x86)",
"type": "pwa-msedge",
"request": "launch",
"cwd": "${workspaceFolder}",
"runtimeExecutable": "${workspaceFolder}/Release/Win32/WebView2APISample.exe",
"runtimeExecutable": "${workspaceFolder}/../../../../out/release_x86/WebView2APISample.exe",
"env": {
// customize for your build location
"Path": "%path%;${workspaceFolder}/Release/Win32"
"Path": "%path%;${workspaceFolder}/x86/Release"
},
"useWebView": "true"
"useWebView": true,
"url": "file:///${workspaceFolder}/assets/ScenarioJavaScriptDebugIndex.html",
"webRoot": "${workspaceFolder}/assets"
},
{
"name": "JavaScript Debugger(Nightly): Sample app (Script Release|ARM64)",
"type": "pwa-msedge",
"request": "launch",
"cwd": "${workspaceFolder}",
"runtimeExecutable": "${workspaceFolder}/Release/arm64/WebView2APISample.exe",
"runtimeExecutable": "${workspaceFolder}/../../../../out/release_arm64/WebView2APISample.exe",
"env": {
// customize for your build location
"Path": "%path%;${workspaceFolder}/Release/arm64"
"Path": "%path%;${workspaceFolder}/arm64/Release"
},
"useWebView": "true"
"useWebView": true,
"url": "file:///${workspaceFolder}/assets/ScenarioJavaScriptDebugIndex.html",
"webRoot": "${workspaceFolder}/assets"
},
{
"name": "Debugger For Microsoft Edge: Attach to Edge",
Expand All @@ -159,11 +171,92 @@
"request": "attach",
"webRoot": "${workspaceFolder}"
},
{
"name": "Debugger For Microsoft Edge: Sample app-Targeted (Script Release|x64)",
"type": "edge",
"request": "launch",
"cwd": "${workspaceFolder}",
"runtimeExecutable": "${workspaceFolder}/../../../../out/debug_x64/WebView2APISample.exe",
"env": {
// customize for your build location
"Path": "%path%;${workspaceFolder}/x64/Debug;"
},
"urlFilter": "*debugCase*",
"useWebView": "advanced"
},
{
"name": "Debugger For Microsoft Edge: Sample app-Targeted (Script Release|x86)",
"type": "edge",
"request": "launch",
"cwd": "${workspaceFolder}",
"runtimeExecutable": "${workspaceFolder}/../../../../out/debug_x86/WebView2APISample.exe",
"env": {
// customize for your build location
"Path": "%path%;${workspaceFolder}/x86/Debug;"
},
"urlFilter": "*debugCase*",
"useWebView": "advanced"
},
{
"name": "Debugger For Microsoft Edge: Sample app-Targeted (Script Release|ARM64)",
"type": "edge",
"request": "launch",
"cwd": "${workspaceFolder}",
"runtimeExecutable": "${workspaceFolder}/../../../../out/debug_arm64/WebView2APISample.exe",
"env": {
// customize for your build location
"Path": "%path%;${workspaceFolder}/arm64/Debug;"
},
"urlFilter": "*debugCase*",
"useWebView": "advanced"
},
// TODO: Bug 27536687
{
"name": "JavaScript Debugger(Nightly): Sample app-Targeted (Script Release|x64)",
"type": "pwa-msedge",
"request": "launch",
"cwd": "${workspaceFolder}",
"runtimeExecutable": "${workspaceFolder}/../../../../out/debug_x64/WebView2APISample.exe",
"env": {
// customize for your build location
"Path": "%path%;${workspaceFolder}/x64/Debug;"
},
"urlFilter": "*debugCase*",
"useWebView": "advanced"
},
// TODO: Bug 27536687
{
"name": "JavaScript Debugger(Nightly): Sample app-Targeted (Script Release|x86)",
"type": "pwa-msedge",
"request": "launch",
"cwd": "${workspaceFolder}",
"runtimeExecutable": "${workspaceFolder}/../../../../out/debug_x86/WebView2APISample.exe",
"env": {
// customize for your build location
"Path": "%path%;${workspaceFolder}/x86/Debug;"
},
"urlFilter": "*debugCase*",
"useWebView": "advanced"
},
// TODO: Bug 27536687
{
"name": "JavaScript Debugger(Nightly): Sample app-Targeted (Script Release|ARM64)",
"type": "pwa-msedge",
"request": "launch",
"cwd": "${workspaceFolder}",
"runtimeExecutable": "${workspaceFolder}/../../../../out/debug_arm64/WebView2APISample.exe",
"env": {
// customize for your build location
"Path": "%path%;${workspaceFolder}/arm64/Debug;"
},
"urlFilter": "*debugCase*",
"useWebView": "advanced"
},
{
"name": "Sample app (debug app)",
"type": "cppvsdbg",
"request": "launch",
"program": "${workspaceFolder}/Debug/x64/WebView2APISample.exe",
"program": "${workspaceFolder}/../../../../out/debug_x64/WebView2APISample.exe",
"args": [],
"preLaunchTask": "",
"stopAtEntry": false,
Expand Down

0 comments on commit 33b2c01

Please sign in to comment.