electronjs.org-new/.vscode/launch.json

50 строки
1.5 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": "Current file",
"program": "${file}",
"request": "launch",
"cwd": "${workspaceFolder}",
"skipFiles": ["<node_internals>/**"],
"type": "pwa-node",
"console": "integratedTerminal"
},
{
"type": "node",
"name": "vscode-jest-tests",
"request": "launch",
"program": "${workspaceFolder}/node_modules/.bin/jest",
"args": ["--runInBand"],
"cwd": "${workspaceFolder}",
"console": "integratedTerminal",
"internalConsoleOptions": "neverOpen",
"disableOptimisticBPs": true,
"windows": {
"program": "${workspaceFolder}/node_modules/jest/bin/jest"
}
},
{
"type": "pwa-node",
"request": "launch",
"name": "Prebuild",
"skipFiles": ["<node_internals>/**"],
"program": "${workspaceFolder}/scripts/pre-build.js",
"console": "integratedTerminal",
"cwd": "${workspaceFolder}"
},
{
"type": "pwa-node",
"request": "launch",
"name": "Create documentation",
"skipFiles": ["<node_internals>/**"],
"program": "${workspaceFolder}/create-electron-documentation/index.js",
"console": "integratedTerminal",
"cwd": "${workspaceFolder}/docs/how-to"
}
]
}