逐行调试 CoffeeScript [英] Debugging CoffeeScript line-by-line

查看:14
本文介绍了逐行调试 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 方面有一些工作正在进行,但我们可能还需要一段时间才能拥有一个真正好的调试器.一个例子是 http://www.infoq.com/news/2011/08/debug-languages-on-javascript-vm

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的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆