JavaScript debugging in WebStorm disabled and disabled so fast

I am using WebStorm (8.0.4) on Mac (latest version of Mavericks). I am trying to debug this simple loop for a script:

<!DOCTYPE html> <html> <head lang="en"> <meta charset="UTF-8"> <title></title> </head> <body> <script type="text/javascript"> for(var i=0;i<10; i++) { console.log('hola!'); } </script> </body> </html> 

I am using Chrome with the JB extension with this configuration:

Host: 127.0.0.1 Port: 63342

In the project settings, in Javascript, Debugger, I have this configuration:

Integrated Server Port: 63342

The STOP code is at the breakpoint (in the for loop), but after one second I have a message that says:

 Disconnected (browser disconnected) 

and I lost the debug mode ...

I am very lost and I do not know what will happen ... any help please?

Hi

+5
source share
2 answers

I had the same problem. Debugging stopped after 1 second

Two things I changed:

  • We downloaded the latest version of WebStorm (8.05)
  • Before debugging opened the configuration and looked at all the pages and saved it.

After that, he worked again.

+3
source

The problem is caused by updating Chrome. Changes to the Chrome API in versions 37+ made it incompatible with the WebStorm debugger. WEB-12418 is fixed in WebStorm 8.0.5 and WebStorm 9 EAP .

+3
source

Source: https://habr.com/ru/post/1204737/


All Articles