Early Access Program

Debugging JavaScript in Google Chrome

Both WebStorm 2.0 and PhpStorm 2.0 allow you to debug JavaScript code while running it in Mozilla Firefox (including Firefox 4).

In WebStorm 2.1 and PhpStorm 2.1, which are currently in early production access, you can also choose to debug JavaScript in Google Chrome.

Debugger for Chrome supports all features of JavaScript debugger for Firefox. You can set breakpoints, inspect local variables, evaluate expressions and more:

If you use Chrome for web browsing and want to debug in it simultaneously, you can configure WebStorm or PhpStorm to use a separate Chrome user profile in ‘IDE Settings | Web Browsers | Chrome‘:

To configure the default debugging browser, just edit the ‘JavaScript Debug’ configuration in the ‘Defaults’ section.

Download WebStorm/PhpStorm EAP, try the new JS debugger and let us know what you think.

Develop with pleasure!
-JetBrains Web IDE Team

image description