Adhoc - Configuring debugging and testing within VSCode.

This commit is contained in:
Kyle Geib committed 2021-12-17 15:49:28 -05:00
1 parent 322120ddd6
commit c6f5899510
2 files changed
+36

No files matched your search

+33
View File
@@ -0,0 +1,33 @@
{
// 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 Edge :3000",
"request": "launch",
"type": "pwa-msedge",
"url": "http://localhost:3000",
"webRoot": "${workspaceFolder}"
},
{
"type": "node",
"name": "vscode-jest-tests",
"request": "launch",
"args": [
"test",
"--runInBand",
"--no-cache",
"--watchAll=false"
],
"cwd": "${workspaceFolder}",
"console": "integratedTerminal",
"internalConsoleOptions": "neverOpen",
"disableOptimisticBPs": true,
"runtimeExecutable": "${workspaceFolder}/node_modules/.bin/react-scripts",
"env": { "CI": "true" },
"protocol": "inspector"
}
]
}
+3
View File
@@ -0,0 +1,3 @@
{
"jest.jestCommandLine": "node_modules/.bin/react-scripts test --run-in-band --no-cache --watchAll=false"
}