babel-node-debug icon indicating copy to clipboard operation
babel-node-debug copied to clipboard

Debugging Express applications

Open akoskm opened this issue 8 years ago • 6 comments

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.

akoskm avatar May 04 '16 15:05 akoskm

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.

jchoi2x avatar May 19 '16 00:05 jchoi2x

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 avatar May 19 '16 22:05 akoskm

@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.

akoskm avatar May 19 '16 22:05 akoskm

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.

CrabDude avatar May 19 '16 23:05 CrabDude

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.

jchoi2x avatar May 20 '16 00:05 jchoi2x

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

akoskm avatar May 20 '16 05:05 akoskm