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", "version": "0.2.0",
"configurations": [ "configurations": [
{ {
"name": "Launch Program",
"type": "node", "type": "node",
"request": "launch", "request": "launch",
"name": "Launch Program", "program": "${workspaceFolder}/testscript.js"
"program": "${workspaceFolder}/Select.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.", "description": "Return a function based on a condition. Monadic alternative to switch-case.",
"main": "Select.js", "main": "Select.js",
"scripts": { "scripts": {
"start": "node Select",
"debug": "node --inspect-brk testscript",
"test": "npx jasmine" "test": "npx jasmine"
}, },
"repository": { "repository": {

Loading…
Cancel
Save