Skip to content

Commit 5ef8ced

Browse files
committed
👷 build: add launch.json for vscode
1 parent 0a6f258 commit 5ef8ced

File tree

1 file changed

+26
-0
lines changed

1 file changed

+26
-0
lines changed

‎.vscode/launch.json‎

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
{
2+
"version": "0.2.0",
3+
"configurations": [
4+
{
5+
"name": "Chrome",
6+
"type": "chrome",
7+
"request": "launch",
8+
"url": "http://localhost:3000",
9+
"webRoot": "${workspaceFolder}/src",
10+
"sourceMapPathOverrides": {
11+
"webpack:///src/*": "${webRoot}/*"
12+
}
13+
},
14+
{
15+
"name": "Debug CRA Tests",
16+
"type": "node",
17+
"request": "launch",
18+
"runtimeExecutable": "${workspaceRoot}/node_modules/.bin/react-scripts",
19+
"args": ["test", "--runInBand", "--no-cache", "--no-watch"],
20+
"cwd": "${workspaceRoot}",
21+
"protocol": "inspector",
22+
"console": "integratedTerminal",
23+
"internalConsoleOptions": "neverOpen"
24+
}
25+
]
26+
}

0 commit comments

Comments
 (0)