2019-06-21 09:42:37 +02:00
|
|
|
{
|
|
|
|
// 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": [
|
2019-07-13 11:35:57 +02:00
|
|
|
{
|
|
|
|
"type": "node",
|
|
|
|
"request": "launch",
|
|
|
|
"name": "Start Server",
|
2020-05-11 15:50:15 +02:00
|
|
|
"program": "${workspaceFolder}/src/index.js"
|
2019-07-13 11:35:57 +02:00
|
|
|
},
|
|
|
|
{
|
2020-05-14 16:12:30 +02:00
|
|
|
"type": "node",
|
|
|
|
"request": "launch",
|
|
|
|
"name": "Jest - All",
|
|
|
|
"program": "${workspaceFolder}/node_modules/.bin/jest",
|
|
|
|
"args": [],
|
|
|
|
"console": "integratedTerminal",
|
|
|
|
"internalConsoleOptions": "neverOpen",
|
|
|
|
"disableOptimisticBPs": true,
|
|
|
|
"windows": {
|
|
|
|
"program": "${workspaceFolder}/node_modules/jest-cli/bin/jest",
|
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "node",
|
|
|
|
"request": "launch",
|
|
|
|
"name": "Jest - Users",
|
|
|
|
"program": "${workspaceFolder}/node_modules/.bin/jest",
|
|
|
|
"args": ["user.spec", "--runInBand"],
|
|
|
|
"console": "integratedTerminal",
|
|
|
|
"internalConsoleOptions": "neverOpen",
|
|
|
|
"disableOptimisticBPs": true,
|
|
|
|
"windows": {
|
|
|
|
"program": "${workspaceFolder}/node_modules/jest-cli/bin/jest",
|
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "node",
|
|
|
|
"request": "launch",
|
|
|
|
"name": "Jest - Instances",
|
|
|
|
"program": "${workspaceFolder}/node_modules/.bin/jest",
|
|
|
|
"args": ["instance.spec", "--runInBand"],
|
|
|
|
"console": "integratedTerminal",
|
|
|
|
"internalConsoleOptions": "neverOpen",
|
|
|
|
"disableOptimisticBPs": true,
|
|
|
|
"windows": {
|
|
|
|
"program": "${workspaceFolder}/node_modules/jest-cli/bin/jest",
|
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "node",
|
|
|
|
"request": "launch",
|
|
|
|
"name": "Jest - Records",
|
|
|
|
"program": "${workspaceFolder}/node_modules/.bin/jest",
|
|
|
|
"args": ["record.spec", "--runInBand"],
|
|
|
|
"console": "integratedTerminal",
|
|
|
|
"internalConsoleOptions": "neverOpen",
|
|
|
|
"disableOptimisticBPs": true,
|
|
|
|
"windows": {
|
|
|
|
"program": "${workspaceFolder}/node_modules/jest-cli/bin/jest",
|
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "node",
|
|
|
|
"request": "launch",
|
|
|
|
"name": "Jest - Models",
|
|
|
|
"program": "${workspaceFolder}/node_modules/.bin/jest",
|
|
|
|
"args": ["model.spec", "--runInBand"],
|
|
|
|
"console": "integratedTerminal",
|
|
|
|
"internalConsoleOptions": "neverOpen",
|
|
|
|
"disableOptimisticBPs": true,
|
|
|
|
"windows": {
|
|
|
|
"program": "${workspaceFolder}/node_modules/jest-cli/bin/jest",
|
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "node",
|
|
|
|
"request": "launch",
|
|
|
|
"name": "Jest - Views",
|
|
|
|
"program": "${workspaceFolder}/node_modules/.bin/jest",
|
|
|
|
"args": ["view.spec", "--runInBand"],
|
|
|
|
"console": "integratedTerminal",
|
|
|
|
"internalConsoleOptions": "neverOpen",
|
|
|
|
"disableOptimisticBPs": true,
|
|
|
|
"windows": {
|
|
|
|
"program": "${workspaceFolder}/node_modules/jest-cli/bin/jest",
|
2019-07-13 11:35:57 +02:00
|
|
|
}
|
2020-05-14 16:12:30 +02:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "node",
|
|
|
|
"request": "launch",
|
|
|
|
"name": "Jest Builder",
|
|
|
|
"program": "${workspaceFolder}/node_modules/.bin/jest",
|
|
|
|
"args": ["builder", "--runInBand"],
|
|
|
|
"console": "integratedTerminal",
|
|
|
|
"internalConsoleOptions": "neverOpen",
|
|
|
|
"disableOptimisticBPs": true,
|
|
|
|
"windows": {
|
|
|
|
"program": "${workspaceFolder}/node_modules/jest-cli/bin/jest",
|
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "node",
|
|
|
|
"request": "launch",
|
|
|
|
"name": "Initialise Budibase",
|
|
|
|
"program": "yarn",
|
|
|
|
"args": ["run", "initialise"],
|
|
|
|
"console": "externalTerminal"
|
|
|
|
}
|
2019-06-21 09:42:37 +02:00
|
|
|
]
|
|
|
|
}
|