37 lines
1.3 KiB
JSON
37 lines
1.3 KiB
JSON
{
|
|
// Use IntelliSense to learn about possible attributes.
|
|
// Hover to view descriptions of existing attributes.
|
|
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
|
|
"version": "0.2.0",
|
|
"configurations": [
|
|
{
|
|
"name": "Launch Chrome against localhost",
|
|
"type": "chrome",
|
|
"request": "launch",
|
|
"url": "http://localhost:3000",
|
|
"webRoot": "${workspaceFolder}"
|
|
},
|
|
{
|
|
"name": "Debug Chromium (Snap) localhost",
|
|
"type": "chrome",
|
|
"request": "launch",
|
|
"url": "http://localhost:3000",
|
|
"webRoot": "${workspaceFolder}",
|
|
"runtimeExecutable": "/snap/bin/chromium",
|
|
"runtimeArgs": ["--new-window", "--remote-debugging-port=9222", "--disable-background-networking"],
|
|
"sourceMaps": true,
|
|
"sourceMapPathOverrides": {
|
|
"*": "${webRoot}/*"
|
|
}
|
|
},
|
|
{
|
|
"name": "Debug Jest tests",
|
|
"type": "node",
|
|
"request": "launch",
|
|
"runtimeArgs": ["--inspect-brk", "${workspaceRoot}/node_modules/.bin/jest", "--runInBand"],
|
|
"console": "integratedTerminal",
|
|
"internalConsoleOptions": "neverOpen",
|
|
"port": 9229
|
|
}
|
|
]
|
|
}
|