Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

WebStorm tries to open Chrome for debugging

I created a new JavaScript Debug configuration. Firefox is the first browser in the list and the default browser is set to system default which is Firefox too. I've also tried to use first in list as default which also is Firefox. I'm on Ubuntu 14.04 and WebStorm 2016.1.1.

When I now trigger the debugging via the little bug icon I get the following error message:

"Cannot run program "google-chrome": error=2, No such file or directory"

I thought okay, might be a bug. I removed all browsers but Firefox from the WebStorm settings and tried again. Didn't work, all the default browsers just reappeared after a restart of the IDE and the error from above kept popping up.

Any advice to force WebStorm to use Firefox?

like image 729
Wipster Avatar asked Apr 11 '16 12:04

Wipster


People also ask

How do I debug WebStorm in Chrome?

Hold Ctrl+Shift and click this URL link. WebStorm starts a debugging session with an automatically generated configuration of the type JavaScript Debug.

How do I disable debugging in Chrome dev tools?

Go to the "Sources" tab. At the top right hand side, toggle the button that looks like the pause symbol surrounded by a hexagon (button on the far right) until the color of the circle turns black to turn it off. If the pause symbol isn't blue it may be that you've accidentally marked a line for debugging inspection.

How do I run debug mode in WebStorm?

To start debugging, hold Ctrl+Shift and click the link. WebStorm starts a debugging session with an automatically generated Attach to Node. js/Chrome configuration.


1 Answers

JavaScript debugger in WebStorm works only with Google Chrome browser together with JetBrains IDE Support extension.

like image 182
Ekaterina Prigara Avatar answered Oct 23 '22 21:10

Ekaterina Prigara