title: NetBeans + xdebug: How can I restart my PHP session every time I start the debugger?
body: <p>I'm trying to debug a PHP website login system using NetBeans 7.0.1 and xdebug 2.1.0. I want to restart the PHP session every time I start the debugger (so that I'm always "logged out" when I go to debug). I thought of creating a new PHP file with <code>&lt;?php session_destroy(); ?&gt;</code> in it, so that I can restart the session each time I debug, but I'm wondering if there's a setting in xdebug to do this automatically.</p>
  
  <p>Any ideas?</p>