Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
vscode settings
{
"version": "0.2.0",
"configurations": [
{
"name": "Spear UI",
"type": "node",
"request": "launch",
"env": {
"ELECTRON_ARGS": "[\\\"--inspect-brk\\\"]",
"DEBUG": "SPEAR*,spear-ui*"
//,rxjs-grpc-minimal*",
// "NODE_ENV": "development"
},
"runtimeExecutable": "${workspaceRoot}/node_modules/.bin/start-storybook",
"args": [
"-s",
"./assets",
"__mock_data__",
"-h",
"127.0.0.1",
"-p",
"9001",
"-c",
".storybook"
],
"outFiles": ["${workspaceRoot}/src/**/*.js"],
"sourceMaps": true,
"console": "integratedTerminal",
"internalConsoleOptions": "neverOpen",
"port": 9229,
"timeout": 20000
},
{
"name": "Jest Single File",
"env": {
"DEBUG": "SPEAR*,spear-ui*,-spear-ui:jest:*,-spear-ui:config:*",
"DISABLE_DEBUG_MOCK": "true"
},
"type": "node",
"request": "launch",
"runtimeExecutable": "${workspaceRoot}/node_modules/.bin/babel-node",
"program": "${workspaceRoot}/node_modules/.bin/jest",
"args": ["--runInBand", "${relativeFile}"],
"runtimeArgs": ["--nolazy", "--inspect-brk"],
"sourceMaps": true,
"console": "integratedTerminal",
"internalConsoleOptions": "neverOpen",
"port": 9229
},
{
"name": "Jest Single All",
"type": "node",
"request": "launch",
"runtimeExecutable": "${workspaceRoot}/node_modules/.bin/babel-node",
"program": "${workspaceRoot}/node_modules/.bin/jest",
"args": ["--runInBand"],
"runtimeArgs": ["--nolazy", "--inspect-brk"],
"sourceMaps": true,
"console": "integratedTerminal",
"internalConsoleOptions": "neverOpen",
"port": 9229
},
{
"name": "Jest Single File DISABLE_DEBUG_MOCK=true",
"env": {
"DEBUG": "SPEAR*,spear-ui*",
"DISABLE_DEBUG_MOCK": "true"
},
"type": "node",
"request": "launch",
"runtimeExecutable": "${workspaceRoot}/node_modules/.bin/babel-node",
"program": "${workspaceRoot}/node_modules/.bin/jest",
"args": ["--runInBand", "${relativeFile}"],
"runtimeArgs": ["--nolazy", "--inspect-brk"],
"sourceMaps": true,
"console": "integratedTerminal",
"internalConsoleOptions": "neverOpen",
"port": 9229
},
{
"name": "Jest All",
"type": "node",
"request": "launch",
"runtimeExecutable": "${workspaceRoot}/node_modules/.bin/babel-node",
"program": "${workspaceRoot}/node_modules/.bin/jest",
"args": ["--runInBand"],
"runtimeArgs": ["--nolazy", "--inspect-brk"],
"sourceMaps": true,
"console": "integratedTerminal",
"internalConsoleOptions": "neverOpen",
"port": 9229
},
{
"name": "Gulp Electron",
"type": "node",
"request": "launch",
"program": "${workspaceRoot}/node_modules/.bin/gulp",
"args": ["-f", "./electron/gulpfile.js", "electron:custom"],
"runtimeArgs": ["--nolazy", "--inspect-brk"],
"sourceMaps": true,
"console": "integratedTerminal",
"internalConsoleOptions": "neverOpen",
"port": 9229
},
{
"name": "Plain Node",
"type": "node",
"request": "launch",
"args": ["${relativeFile}"],
"runtimeArgs": ["--nolazy", "--inspect-brk"],
"sourceMaps": true,
"console": "integratedTerminal",
"internalConsoleOptions": "neverOpen",
"port": 9229
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.