atom-node-debugger icon indicating copy to clipboard operation
atom-node-debugger copied to clipboard

Is there any way to use atom-node-debugger with es6 source-code

Open dhruvr opened this issue 8 years ago • 4 comments

I am trying to use the atom-node-debugger on es6 code. Please have a look under settings babel1

When Ii start the debugger it works fine as below screen babel2

The problem is its debugging and giving line numbers as per es5 code. Let me explain. Check Image below babel12

As you can see the debugger is on line 13, but actually the debugger thinks its line 21,, which in term is right since es5 code of line 13 maps to line 21.Check Image below babel-new11

See line number 21.

So Is there a way to pinpoint exact line numbers? I hope I am able to explain my question, but still let me know in case

dhruvr avatar Mar 08 '17 14:03 dhruvr

have you tried atom-bugs-nodejs? it does support sourcemaps

willyelm avatar Apr 08 '17 17:04 willyelm

@willyelm said:

have you tried atom-bugs-nodejs? it does support sourcemaps

I'm getting 404.

Redsandro avatar Aug 02 '17 18:08 Redsandro

@Redsandro oh the url was updated to xatom-debug-nodejs

willyelm avatar Aug 04 '17 00:08 willyelm

@willyelm doesn't work for me. Just hangs

nitrocode avatar Sep 11 '17 03:09 nitrocode