4 ms·
To: JAshkenas, JWalton From: The interwebs Thank you for this! One of the biggest justifications for avoiding Coffee-Script has been the difficulty in debuggi
by gbadman 14y ago
To: JAshkenas, JWalton
From: The interwebs
Thank you for this! One of the biggest justifications for avoiding Coffee-Script has been the difficulty in debugging the translated code since there is (no longer) a 1-1 line mapping. This is now a thing of the past!
It took me all of 5 minutes to understand the new API for sourcemapping add support to Plunker. For those who are curious: https://github.com/filearts/plunker_run/commit/33eb3c5049b3ee5d497f80dea406deac328de8ba https://github.com/filearts/plunker_run/commit/33eb3c5049b3e...
To me, this is the sign of a simple, but powerful API addition. Well done guys.
If you want an example of stepping through a sourcemapped coffee-script file, try adding a breakpoint to `app.coffee` on: http://beta.plnkr.co/edit/e5iLyQ?p=preview http://beta.plnkr.co/edit/e5iLyQ?p=preview
- seoguru 14y agowhere/how do we add the breakpoint? plunker looks awesome btw.