本文介绍了逐行调试CoffeeScript的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
有没有办法逐行调试CoffeeScript?
Is there a way to debug CoffeeScript line-by-line?
我理解它编译成Javascript。
I understand that it compiles into Javascript. But this sounds like it could make it a pain to debug.
推荐答案
现在,调试CoffeeScript非常麻烦。大多数人使用大量的单元测试。
At the moment it is quite a pain to debug CoffeeScript. Most people use lots of unit tests.
有一些工作正在完成对CoffeeScript的调试,但它可能是一个时间之前,我们将有一个很好的调试器。一个例子是
There is some work being done on debugging for CoffeeScript but it is probably a while away before we'll have a really good debugger. One example is http://www.infoq.com/news/2011/08/debug-languages-on-javascript-vm
这篇关于逐行调试CoffeeScript的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!