Skip to content

Instantly share code, notes, and snippets.

@nmccready
Created January 24, 2019 18:04
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save nmccready/95eeaffbdbba225544bd579b4b2c4877 to your computer and use it in GitHub Desktop.
Save nmccready/95eeaffbdbba225544bd579b4b2c4877 to your computer and use it in GitHub Desktop.
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