Is it possible to debug a scratch file?

Hy there,

I can't seem to get WebStorm to hit break-points within a scratch file.

I do the following:
- create a scratch file
     Tools > New Scratch File
- enter some simple js:

     var letsDebug = 1;

- Set a break-point on both lines and do a right-click on the scratch-file and choose "Debug scratch". What I see in the Console is:

     "C:\Program Files (x86)\JetBrains\WebStorm 9.0.3\bin\runnerw.exe" C:\nodejs\node.exe --debug-brk=59555 --nolazy c:\Users\xxx\AppData\Local\Temp\scratch18.js
     debugger listening on port 59555

     Process finished with exit code 0

But those break-points never get hit. Am I missing something?

Thank you,

Using Webstorm 9.0.3

Comment actions Permalink

Debugging scratch files is not supported. Please follow for updates

Comment actions Permalink

I can understand that this is not possible (or at least not easy) for Java.

In JavaScript it is possible, but I can't set breakpoints...

Why I can not set breakpoints?


Please sign in to leave a comment.