These are chat archives for exceptionless/Discuss

6th
Feb 2016
Frank Ebersoll
@frankebersoll
Feb 06 2016 19:09
Todd is doing awesome work right now.
ToddThomson/tsproject#71
ToddThomson/tsproject#74
Blake Niemyjski
@niemyjski
Feb 06 2016 19:09
Sawweet
Frank Ebersoll
@frankebersoll
Feb 06 2016 19:21
trying to push the source map thing a little. I have source map issues in another project that uses coffee script, so I will delve into that topic now.
first thing will be understanding how the debugging protocol of node works and how it can be sniffed
maybe this will help in pinpointing problems where breakpoints do not work because the source maps are not right
i really hate not being able to break into code.
Eric J. Smith
@ejsmith
Feb 06 2016 19:23
Yeah, seems like source maps don't quite work right.
I have yet to see a transpiler that makes them work perfectly.
Frank Ebersoll
@frankebersoll
Feb 06 2016 19:25
typescript itself does.
Eric J. Smith
@ejsmith
Feb 06 2016 19:25
Not sure if that is a limitation of the transpilers or of source maps themselves.
So if you just go directly through typescript they work good?
Frank Ebersoll
@frankebersoll
Feb 06 2016 19:25
usually it’s a problem of having the paths mapped incorrectly
Eric J. Smith
@ejsmith
Feb 06 2016 19:26
In my other app we are going through typescript and then Babel due to issues with typescript.
Frank Ebersoll
@frankebersoll
Feb 06 2016 19:26
each sourcemap points back to its original source file, while itself is kept nearby the output file
Eric J. Smith
@ejsmith
Feb 06 2016 19:26
Hoping that typescript will resolve those issues soon and we can skip the Babel step.
Frank Ebersoll
@frankebersoll
Feb 06 2016 19:27
but this pointer must be an absolute path or a relative path that works
Eric J. Smith
@ejsmith
Feb 06 2016 19:27
Yeah
Frank Ebersoll
@frankebersoll
Feb 06 2016 19:27
and usually, gulp-sourcemap isn’t configured to put the right paths there
so the debugger won’t find the sources.