Showing posts with label debug disconnect. Show all posts
Showing posts with label debug disconnect. Show all posts

Debug mode timeout and disconnects.

Hi there,

This will be very quick post about tweaking debugging problems in cases of:
  • timeout
  • disconnection
If you debug from you environment standalone desktop application you can just set it in the options of debug configurations. Look for the timeout 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 bit with it. Usually setting timeout to -1 means unlimited.