Annoying problem with xdebug

I have an annoying problem.

If I turn off "Start Listen PHP Debug Connections", and reload the page, it takes more than 30 seconds to be displayed.

If I delete the Xdebug-Cookie, the page loads in a normal time. For example I cant use xdebug.remote_autostart, because if I do not debug, the page loads very slow.


5 comments
Comment actions Permalink

Hi Karlheinz,

If xdebug.remote_autostart is enabled, and PhpStorm is closed -- do you see the same delays?

In any case -- with xdebug.remote_autostart enabled, every page will be loaded slower because xdebug will attempt to connect to debug client (IDE) for a some period of time (here on Windows I see delays in about 1-1.5 second) -- too much for me to have it enabled. The page load time (overall) may dramatically increase when you have few ajax requests or css/js/etc files are dynamically generated by php as well.

0
Comment actions Permalink

Same delay with phpstorm closed.

I use a VM running Debian connecting from Windows. The problem does not occure on development on localhost. There is no delay with xdebug autostart.

Little bit confusing me.



Nachricht geändert durch Karlheinz Must

0
Comment actions Permalink

Hello Karlheinz,

Unfortunately it is not a PhpStorm issue and we can't do anything with that.
I've submited related feature request to Xdebug issue tracker - http://bugs.xdebug.org/view.php?id=805

Hope it will be fixed soon.

Thanks for feedback!

0
Comment actions Permalink

That's great!

Thank you for your efforts!

Btw.: Do you know a workaround to do this for networks under windows? Example: Configure the response time in networks for requests on unavailible ports?


0
Comment actions Permalink

Karlheinz,

Btw.: Do you know a workaround to do this for networks under windows? Example: Configure the response time in networks for requests on unavailible ports?



Unfortunately I don't.

Thank you for feedback!

0

Please sign in to leave a comment.