dorba / blade

The core tools for Blade rich client development.
89 stars 14 forks source link

Source code maps #7

Open JeroMiya opened 12 years ago

JeroMiya commented 12 years ago

Chrome has support for source maps in its set of developer tools for debugging javascript code. Source maps allow you to map the generated javascript to lines in the original source, so you can debug in the original source language. Would be nice to support this feature in a C# to javascript compiler by also generating source map files.

dorba commented 12 years ago

I've looked into this briefly. Debugging support is definitely something I'm interested in trying to tackle at some point. I think I'd like to see some sort of dual window in Visual Studio, where you step through one or the other, while also seeing the equivalent line of JS or C#.