Altered VSCode so that both the UI and the swagger page load when debugging is launched.
This commit is contained in:
parent
55f484cf70
commit
4b3f65ec20
5
.vscode/launch.json
vendored
5
.vscode/launch.json
vendored
@ -8,12 +8,13 @@
|
|||||||
"name": "Debug React App",
|
"name": "Debug React App",
|
||||||
"type": "pwa-chrome",
|
"type": "pwa-chrome",
|
||||||
"request": "launch",
|
"request": "launch",
|
||||||
"url": "http://localhost:3001",
|
|
||||||
"webRoot": "${workspaceFolder}/src",
|
"webRoot": "${workspaceFolder}/src",
|
||||||
"runtimeExecutable": "C:\\Program Files\\Google\\Chrome\\Application\\chrome.exe",
|
"runtimeExecutable": "C:\\Program Files\\Google\\Chrome\\Application\\chrome.exe",
|
||||||
"runtimeArgs": [
|
"runtimeArgs": [
|
||||||
"--remote-debugging-port=9222",
|
"--remote-debugging-port=9222",
|
||||||
"--user-data-dir=C:\\ChromeDebug"
|
"--user-data-dir=C:\\ChromeDebug",
|
||||||
|
"http://localhost:3001",
|
||||||
|
"http://localhost:3001/swagger"
|
||||||
],
|
],
|
||||||
"preLaunchTask": "Start All",
|
"preLaunchTask": "Start All",
|
||||||
"postDebugTask": "Stop All Tasks"
|
"postDebugTask": "Stop All Tasks"
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user