50 lines
1.4 KiB
JSON
50 lines
1.4 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": "Go: Launch Server",
|
|
"type": "go",
|
|
"request": "launch",
|
|
"mode": "debug",
|
|
"program": "${workspaceFolder}/server/main",
|
|
"cwd": "${workspaceFolder}"
|
|
},
|
|
{
|
|
"name": "Attach by Process ID",
|
|
"processId": "${command:PickProcess}",
|
|
"request": "attach",
|
|
"skipFiles": [
|
|
"<node_internals>/**"
|
|
],
|
|
"type": "pwa-node"
|
|
},
|
|
{
|
|
"type": "node",
|
|
"request": "launch",
|
|
"name": "Jest: run all tests",
|
|
"program": "${workspaceRoot}/webapp/node_modules/jest/bin/jest.js",
|
|
"cwd": "${workspaceRoot}/webapp",
|
|
"args": [
|
|
"--verbose",
|
|
],
|
|
"console": "integratedTerminal",
|
|
"internalConsoleOptions": "neverOpen"
|
|
},
|
|
{
|
|
"type": "node",
|
|
"request": "launch",
|
|
"name": "Jest: run current file",
|
|
"program": "${workspaceRoot}/webapp/node_modules/jest/bin/jest.js",
|
|
"cwd": "${workspaceRoot}/webapp",
|
|
"args": [
|
|
"${fileBasename}",
|
|
"--verbose",
|
|
],
|
|
"console": "integratedTerminal",
|
|
"internalConsoleOptions": "neverOpen"
|
|
},
|
|
]
|
|
}
|