Created
October 23, 2017 10:09
-
-
Save augustovictor/2463c525fc53887382393992a949e06a to your computer and use it in GitHub Desktop.
This file contains hidden or 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
// launch.json | |
{ | |
// Use IntelliSense to learn about possible attributes. | |
// Hover to view descriptions of existing attributes. | |
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387 | |
"version": "0.2.0", | |
"configurations": [ | |
{ | |
"name": "Attach", | |
"type": "node", | |
"request": "attach", | |
"port": 9229, | |
"protocol": "inspector", | |
"restart": true | |
} | |
] | |
} | |
// package.json | |
"debug": "node_modules/.bin/nodemon node_modules/babel-cli/bin/babel-node.js --inspect --presets es2015 -- bin/www --inspect" | |
// .babelrc | |
{ | |
"presets": [ | |
["env", { | |
"targets": { | |
"node": "current" | |
} | |
}] | |
], | |
"sourceMaps": true, | |
"retainLines": true | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment