Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot place a breakpoint with babel 6.x.x #771

Open
aegyed91 opened this issue Nov 2, 2015 · 2 comments
Open

Cannot place a breakpoint with babel 6.x.x #771

aegyed91 opened this issue Nov 2, 2015 · 2 comments

Comments

@aegyed91
Copy link

aegyed91 commented Nov 2, 2015

On the weekend i tried to upgrade my project to the newly relased babel 6.

I am using the require hook approach. They changed it a bit, now i have to require('babel-core/register') instead of require('babel/register').

Everything transforms as before, but in node-inspector i am not allowed to place any breakpoints anywhere in the affected files which are being transpiled.

I am using:
node js v5.0.0
node-inspector v0.12.3
babel v6.0.15
babel-core v6.1.2 with es2015 and stage-0 presets

EDIT:
Here you can find the reproduction repo.
Also opened a ticket for the babel repo #2968

Want to back this issue? Post a bounty on it! We accept bounties via Bountysource.

@amcdnl
Copy link

amcdnl commented Jan 5, 2016

@CrabDude any updates? been fighting this, have a good repo case here: https://github.com/amcdnl/debug-hell

@CrabDude
Copy link

CrabDude commented Jan 8, 2016

@amcdnl While I am the author of babel-node-debug (and I plan to update it to babel@6 compatibility soon), this specific issue is outside my expertise since I'm only mildly familiar with the node-inspector and babel projects. Unfortunately, this is an issue for the babel or node-inspector developers to sort out.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants
@CrabDude @amcdnl @aegyed91 and others