交互式JavaScript控制台(最好与Firebug集成) [英] Interactive Javascript console (preferably integrated with Firebug)

查看:126
本文介绍了交互式JavaScript控制台(最好与Firebug集成)的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在寻找一种方法来建立一个互动的JIT调试器,最好与Firebug集成。



我从PHPEd得到了一个立即调试选项卡,您可以在其中键入PHP代码并即时修改对象。这使调试变得轻而易举,因为您可以多次重新分配变量,重新执行函数等,而无需离开程序。



这是我认为会很棒的:
- 在Firebug
中设置断点 - 到达断点
- 具有一个可执行JS代码的执行JS选项卡,类似于上述描述



这样的事情已经存在了吗?



TIA。

解决方案>

你可以在Firebug中做到这一点。只需到达一个断点,然后转到控制台选项卡,并在底部的命令行(其中有>>>)键入您的命令。


I'm looking for a way to have an interactive JIT debugger, preferably integrated with Firebug.

I got the idea from PHPEd, which has an "Immediate" debug tab where you can just type in PHP code and modify objects on the fly. This makes debugging a breeze as you can re-assign variables multiple times, re-execute functions, etc without leaving the program.

Here's what I think would be superb: - set a breakpoint in Firebug - arrive to breakpoint - have an Execute JS tab where one could enter JS code, similar to what I described above

Does anything like this exist already?

TIA.

解决方案

You can already do this in Firebug. Just get to a break point, then go to the "console" tab, and type your commands into the command line at the bottom (where there's the ">>>").

这篇关于交互式JavaScript控制台(最好与Firebug集成)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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