I'm using WebStorm (8.0.4) in a Mac (Mavericks last version). I'm trying to debug this simple loop for 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 JB Extension with this configuration:
Host: 127.0.0.1 Port: 63342
In the settings of the Project, in Javascript, Debugger I have this configuration:
Built-in server port: 63342
The code STOP in the breakpoint (in the loop for), but after one second, I have a message that says:
Disconnected (browser disconnected)
and I lost the debug mode...
I'm very lost and I don't know what happens... any help please?
Regards
I had the same problem. Debugging stopped after 1 second
Two things I changed:
After this, it just worked again.
The issue is caused by Chrome update. Chrome API changes in versions 37+ have made it incompatible with WebStorm debugger. WEB-12418 is fixed in WebStorm 8.0.5 and WebStorm 9 EAP.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With