title: Can I make xdebug stop\break on exceptions ? (Ubuntu/Netbeans IDE/PHP 5.4/CLI/xdebug)
body: <p>I am runnig PHP CLI application.</p>
  
  <p>If I set a breakpoint, xdebug stops on it. if I write <code>xdebug_break();</code> it stops as well.</p>
  
  <p>Can I make it stop if application throws an exception? </p>
  
  <p>My ini file:</p>
  
  <p>php -i | grep php.ini
  Loaded Configuration File => <strong>/etc/php5/cli/php.ini</strong></p>
  
  <pre><code>xdebug.remote_enable=1
  xdebug.remote_handler=dbgp
  xdebug.remote_mode=req
  xdebug.remote_host=127.0.0.1
  xdebug.remote_port=9000
  </code></pre>