2

I'm using node-inspector. I have run debugger, and the console is paused where the debugger has started:

> var z = 1
undefined

> z
ReferenceError: z is not defined

Setting globals seems to work:

> a = 1
1
> a
1

enter image description here

Is node-inspector broken or an I doing something wrong?

I am using node-inspector 0.5, which is the latest at the time I'm writing this.

4

1 回答 1

3

免责声明:我是 Node Inspector 的维护者。

这是 Node Inspector 缺少的功能。

局部变量保存在 Chrome 开发者工具中,因此它也应该可以在 Node Inspector 中工作。

请在项目的问题跟踪器中填写问题。

Chrome 开发者工具截图:

开发者工具截图

于 2013-10-14T07:07:53.883 回答