Will enabling XDebug on a production server make PHP slower?

后端 未结 11 1602
孤独总比滥情好
孤独总比滥情好 2020-11-28 12:47

The title pretty much says it all...is it a bad idea ? I\'d like to have the enhanced debug messages that XDebug provides on the server.

[edit] Just to make things c

11条回答
  •  被撕碎了的回忆
    2020-11-28 13:12

    You can use XDebug in production if you "do it right". You can enable the extension in a "dormant" mode that is only brought to live through requests that go through a specific HOSTS name. Se details here:

    http://www.drupalonwindows.com/en/content/remote-debugging-production-php-applications-xdebug

提交回复
热议问题