aboutsummaryrefslogtreecommitdiff
path: root/.vscode/launch.json
diff options
context:
space:
mode:
authorJenny Yu <jennyyu212@outlook.com>2022-09-12 21:57:15 -0400
committerJenny Yu <jennyyu212@outlook.com>2022-09-12 21:57:15 -0400
commit7da791491a588f2a2a177a4eb144311ba49f5782 (patch)
treeec715830946f7e1329135ff12be2c1d66ac65149 /.vscode/launch.json
parent7f0eacf3fc0b54ceb4d574a719208861789581d3 (diff)
parent4315a0378bc54ae9eaa684d416839f635c38e865 (diff)
Merge branch 'master' into sharing-jenny (break)
Diffstat (limited to '.vscode/launch.json')
-rw-r--r--.vscode/launch.json48
1 files changed, 14 insertions, 34 deletions
diff --git a/.vscode/launch.json b/.vscode/launch.json
index a7c30ca1e..ce9f50f67 100644
--- a/.vscode/launch.json
+++ b/.vscode/launch.json
@@ -12,9 +12,7 @@
"breakOnLoad": true,
"url": "http://localhost:1050/login",
"webRoot": "${workspaceFolder}",
- "runtimeArgs": [
- "--experimental-modules"
- ]
+ "runtimeArgs": ["--experimental-modules"]
},
{
"type": "chrome",
@@ -25,18 +23,21 @@
"url": "http://localhost:1050/login",
"webRoot": "${workspaceFolder}",
"runtimeExecutable": "/usr/bin/chromium",
- "runtimeArgs": [
- "--experimental-modules"
- ]
+ "runtimeArgs": ["--experimental-modules"]
},
{
"type": "firefox",
"request": "launch",
"name": "Launch Firefox against localhost",
- //"sourceMaps": "client",
"reAttach": true,
"url": "http://localhost:1050/login",
"webRoot": "${workspaceFolder}",
+ "pathMappings": [
+ {
+ "url": "webpack://dash/src",
+ "path": "${workspaceFolder}/src"
+ }
+ ]
},
{
"type": "chrome",
@@ -45,8 +46,7 @@
"sourceMaps": true,
"breakOnLoad": true,
"url": "https://browndash.com/login",
- //"url": "http://dash-web.eastus2.cloudapp.azure.com:1050/login",
- "webRoot": "${workspaceFolder}",
+ "webRoot": "${workspaceFolder}"
},
{
"type": "node",
@@ -62,13 +62,7 @@
"request": "launch",
"name": "Current TS File",
"runtimeExecutable": "npx",
- "runtimeArgs": [
- "ts-node-dev",
- "--nolazy",
- "--inspect",
- "--",
- "${relativeFile}"
- ],
+ "runtimeArgs": ["ts-node-dev", "--nolazy", "--inspect", "--", "${relativeFile}"],
"port": 9229
},
{
@@ -76,14 +70,7 @@
"request": "launch",
"name": "Mocha Tests",
"program": "${workspaceFolder}/node_modules/mocha/bin/_mocha",
- "args": [
- "-r",
- "ts-node/register",
- "--timeout",
- "999999",
- "--colors",
- "${workspaceFolder}/test/**/*.ts"
- ],
+ "args": ["-r", "ts-node/register", "--timeout", "999999", "--colors", "${workspaceFolder}/test/**/*.ts"],
"console": "integratedTerminal",
"internalConsoleOptions": "openOnSessionStart",
"protocol": "inspector"
@@ -93,17 +80,10 @@
"request": "launch",
"name": "Mocha Current File",
"program": "${workspaceFolder}/node_modules/mocha/bin/_mocha",
- "args": [
- "-r",
- "ts-node/register",
- "--timeout",
- "999999",
- "--colors",
- "${file}"
- ],
+ "args": ["-r", "ts-node/register", "--timeout", "999999", "--colors", "${file}"],
"console": "integratedTerminal",
"internalConsoleOptions": "openOnSessionStart",
"protocol": "inspector"
- },
+ }
]
-} \ No newline at end of file
+}