WebStorm Console Input for Node Debugging

 Hi I'm a newbe node developer. 

Is there a way to setup console so I can examine variables and run simple expressions in context while in a breakpoint?

I'm used to pycharm where I can try expressions and look at my variables.  Is there an equivalent for node development in webstorm? 

When I go into 'Use Console Input' from the cosole tab while in a breakpoint, I get the > prompt but when I type stuff in I'm getting inconsistent results. Up arrow doesnt scroll up the command history.

Using OSX and webstorm 2016.2.4.  All the right plugins seem to be enabled.

Any help would be appreciated.

Thanks,

Roy

 

0
1 comment

Please can you elaborate on this issue? What do you mean by inconsistent results?

When "Use Console Input" toggle button is pressed (default mode), debugger console is 'live' - you can use it to evaluate expressions (http://blog.jetbrains.com/phpstorm/2014/07/new-live-console-in-javascript-and-node-js-debugger/); when it's not pressed, console can be used for stdin (i.e. you have to de-press this tab if your application requires console input)

 

Using arrow keys to access history: please vote for https://youtrack.jetbrains.com/issue/WEB-22395

0

Please sign in to leave a comment.