Debugging Ionic2 application in Webstorm: GET http://localhost:8100/ net::ERR_EMPTY_RESPONSE

Hi,

I've got the following issue: 

I want to debug an Ionic2 app. I could set it up and it did work ( to some extend, it did not stop at breakpoints).

But at some point Webstorm started giving me the following message: "GET http://localhost:8100/ net::ERR_EMPTY_RESPONSE"

I'm not sure where it came from. 

I checked the ports for Javascript debugging and the port in the Chrome extension match.  

Webstorm also manages to estabish a connection to the browser because if I type "alert(1)" into the Webstorm-console, I get the alert in the Browser, but my application does not start anymore. I repeatedly restarted everything an also set up the Javascript Debugger from scratch.

Can anyone help on this? Not sure what to look for

 

Cheers Sam

0
1 comment

>I'm not sure where it came from

it comes from browser:) Browser throws this error on attempt to load resource because the server has sent no data in response; WebStorm just logs it as a failed network request

>I checked the ports for Javascript debugging and the port in the Chrome extension match

it has nothing to do with debug ports; may be a general networking issue or a problem with your application

0

Please sign in to leave a comment.