XDebug, how to disable remote debugging for single .php file?
Posted
by Kirzilla
on Stack Overflow
See other posts from Stack Overflow
or by Kirzilla
Published on 2010-04-03T08:38:10Z
Indexed on
2010/04/03
8:43 UTC
Read the original article
Hit count: 381
Hello,
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. So, every cron execution xdebug is sending information to my workstation and EclipseIDE is trying to find this file in my project. But file couldn't be find because cron running scrits do not relate to the project I'm working with. So, every cron run Eclipse IDE is alerting this message http://img2.pict.com/22/fc/86/3299517/0/screenshot2b142.png
I've tried to add to cron executed php scripts some strings...
if (function_exists('xdebug_disable')) {
xdebug_disable();
}
... but it didn't helped.
Any ideas?
Thank you
© Stack Overflow or respective owner