title: PHP Debugging Tools - File Root is Different With the URL Path
body: <p>I work on a website that <code>index.php</code> initially loads several configurations to define specific classes for their respected URLs. For example, a URL at <code>http://localhost/page/1/</code> loads a PHP class at <code>http://localhost/website/sys/scripts/new/page.php</code>. My question is how to configure the NetBeans IDE for PHP so that it debugs the <code>http://localhost/page/1/</code> instead of <code>http://localhost/website/sys/scripts/new/page.php</code> whenever trying to debug the <code>page.php</code> file? Would you recommend a better tool for debugging such system?
  Thanks for your help and time</p>