CrabDude / babel-node-debug

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

Debugging Express applications #15

Open akoskm opened 8 years ago

akoskm commented 8 years ago

When starting my app like

export NODE_ENV=development && babel-node ./server.js

and babel-node-debug with

./node_modules/.bin/babel-node-debug server.js

The browser opens and I'm able to set breakpoints in my scripts but none of them is triggered.

jchoi2x commented 8 years ago

Same here. I can't stop at the breakpoint anywhere. If i use the --debug-brk option it'll set the first breakpoint in babel source code instead of project entry point.

akoskm commented 8 years ago

I can't help you with this because I switched to visual studio code where the debugging was trivial to set up: https://code.visualstudio.com/Docs/editor/debugging. Closing.

akoskm commented 8 years ago

@kizzlebot if you're still interested in a solution you might want to open a new issue because I won't be following this anymore.

CrabDude commented 8 years ago

Reopening. Even though it's no longer an issue for @akoskm, it seems to still be an issue.

@akoskm Please feel free to unfollow this issue.

jchoi2x commented 8 years ago

Thanks @CrabDude and thanks for the heads up @akoskm. With the increasing number of users and companies depending on babel and many transitioning to using it in nodejs, I can't believe there aren't more participants.

akoskm commented 8 years ago

@CrabDude @kizzlebot thanks and sorry, I just didn't had the time to further investigate this.