title: Xdebug in PhpStorm cannot locate extended classes
body: <p>I have a CodeIgniter project which has some errors and I am trying to debug it. However, when I start debugging the debugger exits because <code>MY_Controller</code> which is extended by all controllers was not found.</p>
  
  <p>The error on the console is like this:</p>
  
  <blockquote>
    <p>Fatal error: Class 'MY_Controller' not found.</p>
  </blockquote>
  
  <p><code>MY_Controller</code> is in the application core folder and extends the <code>CI_Controller</code>. Why cant the debugger locate this class?</p>
  
  <p>Apparently without solving this I cant debug my files. Otherwise the error does not pop up when I run the project without the debugger listening. I am using xdebug and PhpStorm.</p>