Get Even More Visitors To Your Blog, Upgrade To A Business Listing >>

Debugger disconnects due to timeout error

Hi there,

This post provides some tweaks you can make to increase debug timeout settings. If you debug standalone desktop application you can just increase timeout settings in the debugger / runner configuration and it should work just fine. However If you are debugging web application quite often timeout is set somewhere regardless of your IDE settings.

If you debug web application running in web browser there is something else you can set to improve it. For example in Firefox there is special settings site that allows you to configure advanced properties:

  1. In Firefox browser URL field type in: about:config
  2. You should get a warning about risk of changing advanced settings so please continue at your own risk.
  3. Then there are plenty of properties to choose from but we are interesting in increasing timeouts related stuff. You can update following keys:
  • devtools.debugger.remote-timeout
  • dom.ipc.plugins.timeoutSecs
  • dom.ipc.plugins.timeout.secs
  • dom.ipc.plugins.processLaunchTimeoutSecs
  • dom.ipc.plugins.parentTimeoutSecs
  • dom.min_background_timeout_value
  • dom.min_timeout_value

Note for some properties value comes in seconds for others in milliseconds. You will need to experiment a little bit with it. Usually setting timeout to -1 means unlimited.


Cheers!


This post first appeared on IT Code Hub - Java, Mobile Apps, Linux And More, please read the originial post: here

Share the post

Debugger disconnects due to timeout error

×

Subscribe to It Code Hub - Java, Mobile Apps, Linux And More

Get updates delivered right to your inbox!

Thank you for your subscription

×