XDebug, how to disable remote debugging for single .php file?

前端 未结 1 1800
粉色の甜心
粉色の甜心 2020-12-17 17:13

I\'m using Eclipse IDE + remote Xdebug. EclipseIDE is listening 9000 port for some kind of Xdebug information.

There are some php scripts running by cron on server.

相关标签:
1条回答
  • 2020-12-17 17:56

    As I've investigated I should set xdebug.remote_autostart=0 See documentation: http://xdebug.org/docs/remote

    Important! You should change this value through php.ini. Using function ini_set('xdebug.remote_autostart', 0) won't work because sesion has already started and you'll be still getting xdebug information to your remote host.

    0 讨论(0)
提交回复
热议问题