CrabDude / babel-node-debug

node-inspector's node-debug using babel-node
MIT License
92 stars 11 forks source link

the set of execPath is wrong #1

Closed balboliu closed 9 years ago

balboliu commented 9 years ago

i found that the /usr/local/lib/node_modules/babel-node-debug/node_modules/node-inspector/bin/node-debug.js and line172-line174 is:

if (config.subproc.execPath) { options.execPath = config.subproc.execPath }

so execPath should be a property of config.subproc not config

CrabDude commented 9 years ago

Resolved in v1.1.1 by taking a different path using node-inspector's --nodejs CLI arguments