title: How can I debug a PHP CLI script with xdebug?
body: <p>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.</p>
  
  <p>So, for instance, how do I pass the XDEBUG_SESSION_START variable in to get xdebug to kick on?</p>
  
  <p>I'm specifically trying to debug a CakePHP shell. So if anyone has any additional insight into that I'd be very appreciative.</p>
  
  <p>Thanks.</p>