How can I debug a PHP CLI script with xdebug?
Posted
by Laran Evans
on Stack Overflow
See other posts from Stack Overflow
or by Laran Evans
Published on 2009-12-22T16:15:58Z
Indexed on
2010/05/23
10:30 UTC
Read the original article
Hit count: 269
I haven't quite figured this out. EVERY piece of documentation I've found covers how to use xdebug to debug scripts running in Apache. I need to debug a php CLI script.
So, for instance, how do I pass the XDEBUG_SESSION_START variable in to get xdebug to kick on?
I'm specifically trying to debug a CakePHP shell. So if anyone has any additional insight into that I'd be very appreciative.
Thanks.
© Stack Overflow or respective owner