Created
February 6, 2016 01:58
-
-
Save benquarmby/36f6c00947ad04509212 to your computer and use it in GitHub Desktop.
VSCode debugger freeze
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
'use strict'; | |
var util = require('util'); | |
console.log(util.inspect({ | |
some: 'object' | |
})); | |
console.log('put a breakpoint on this line'); | |
console.log('it will not be hit'); | |
console.log('these lines will not be logged'); | |
console.log('the process will never exit'); | |
console.log('we\'re completely stuck'); | |
process.exit(0); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"version": "0.2.0", | |
"configurations": [ | |
{ | |
"name": "Launch", | |
"type": "node", | |
"request": "launch", | |
"program": "app.js", | |
"stopOnEntry": false, | |
"args": [], | |
"cwd": ".", | |
"runtimeExecutable": null, | |
"runtimeArgs": [ | |
"--nolazy" | |
], | |
"env": { | |
"NODE_ENV": "development" | |
}, | |
"externalConsole": false, | |
"sourceMaps": false, | |
"outDir": null | |
}, | |
{ | |
"name": "Attach", | |
"type": "node", | |
"request": "attach", | |
"port": 5858 | |
} | |
] | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment