
When Jest executes the test that contains the debugger statement, execution will pause and you can examine the current scope and call stack. Click the button that looks like a "play" button in the upper right hand side of the screen to continue execution. The Chrome Developer Tools will be displayed, and a breakpoint will be set at the first line of the Jest CLI script (this is done to give you time to open the developer tools and to prevent Jest from executing before you have time to do so). Like other JetBrains IDEs, it makes your development experience more enjoyable, automating routine work and helping you handle complex tasks with ease. Initial solution (deprecated now): To disable Escape switching from the Terminal tool window to the editor, do the following: 'Help Find Action.' on the main menu Type 'registry' and click 'Registry.' found element Find .to.editor key and disable it. Click on the address displayed in the terminal (usually something like localhost:9229) after running the above command, and you will be able to debug Jest using Chrome's DevTools. WebStorm is an integrated development environment for JavaScript and related technologies. To debug in Google Chrome (or any Chromium-based browser), open your browser and go to chrome://inspect and click on "Open Dedicated DevTools for Node", which will give you a list of available node instances you can connect to. Note that the process will pause until the debugger has connected to it.
Webstorm terminal not working windows 10 for windows 10#
For Windows 10 Technical Preview: Uncheck 'Enable Experimental Console features' in 'Experimental' tab.

For Windows 10: Just check the 'Use legacy console' option.


Be sure to restart Webstorm or PhpStorm after doing these. Right click the title bar of the cmd and go properties. This will run Jest in a Node process that an external debugger can connect to. Disabling 'experimental features' for cmd did the trick for me.
