Browse Source

[misc] debug scripts

develop
Muthu Kumar 7 years ago
parent
commit
787d98c1b9
  1. 15
      .vscode/launch.json
  2. 2
      package.json

15
.vscode/launch.json

@ -5,10 +5,21 @@
"version": "0.2.0",
"configurations": [
{
"name": "Launch Program",
"type": "node",
"request": "launch",
"name": "Launch Program",
"program": "${workspaceFolder}/Select.js"
"program": "${workspaceFolder}/testscript.js"
},
{
"name": "Attach To npm",
"type": "node",
"request": "attach",
"port": 5858,
"address": "localhost",
"restart": false,
"sourceMaps": false,
"localRoot": "${workspaceRoot}",
"remoteRoot": null
}
]
}

2
package.json

@ -4,6 +4,8 @@
"description": "Return a function based on a condition. Monadic alternative to switch-case.",
"main": "Select.js",
"scripts": {
"start": "node Select",
"debug": "node --inspect-brk testscript",
"test": "npx jasmine"
},
"repository": {

Loading…
Cancel
Save