基于 Web 的 JavaScript 调试器
我有一个项目的想法,该项目与帮助人们学习编程有关。我认为很酷的一件事是在网站上有一个位置,您可以在浏览器中实时编辑 JavaScript 代码。
我知道有许多基于 Web 的 JavaScript 编辑器,但我一直无法找到是否有任何工具可以让您从浏览器中调试 JavaScript。我认为对于刚接触编程的人来说,能够单步执行代码是一种宝贵的学习经历。不过,看起来沿着这些思路的事情应该是可能的。
我原本以为你可以使用 Firebug Lite 之类的东西: http://getfirebug.com/firebuglite,但他们没有不支持调试。这个问题在 JavaScript 中是不是太难解决了?
I have an idea for a project that has to do with helping people learn to program. One of the things I think would be cool would be to have a place on the site where you can edit JavaScript code in real time in your browser.
I know there are a number of web-based JavaScript editors, but I haven't been able to find out if there are any tools that let you debug JavaScript from your browser. I think being able to step through your code is a valuable learning experience for people who are new to programming. It seems like something along those lines should be possible, though.
I originally thought you could use something like Firebug Lite: http://getfirebug.com/firebuglite, but they don't support debugging. Is this just too hard of a problem to solve in JavaScript?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
我建议您尝试Cloud9。它是一个功能齐全的基于 Web 的 Javascript IDE,其中包括一个很棒的调试器。它对于开源项目是免费的,我想这将包括大多数学习目的。
I suggest you try Cloud9. It is a full-featured web based IDE for Javascript, which includes a great debugger. It is free for open source projects, which I imagine would include most learning purposes.
为什么不直接使用浏览器中内置的 Javascript 控制台呢?每个现代浏览器都有这个功能。
Why not just use the build in Javascript console from the browser? Every modern browser has this feature.