title: Can't get Xdebug to work on Windows 7
body: <p>I installed the latest XAMPP package which includes PHP 5.3.0. I am trying to enable Xdebug, but it just won't work.</p>
  
  <p>Here's what I changed in the php.ini shipped with XAMPP:</p>
  
  <pre><code>; uncommented
  zend_extension = "X:\xampp\php\ext\php_xdebug.dll"
  
  ; added the following lines:
  xdebug.remote_enable=true
  xdebug.remote_host=localhost
  xdebug.remote_port=9000
  xdebug.remote_handler=dbgp
  </code></pre>
  
  <p>Apache starts fine, but when I open <code>http://localhost/</code> in my browser, I get the following error:</p>
  
  <p><img src="https://i.stack.imgur.com/X4Rs6.png" alt="alt text"></p>
  
  <p>If I click the <code>Close the program</code> button, the error message will reappear in a second as if it was in an infinite loop. I'd greatly appreciate <strong>any</strong> help in getting this to work.</p>
  
  <p>I am running a fresh install of Windows 7 Ultimate 64-bit.</p>
  
  <p>EDIT:
  From the result of phpinfo():</p>
  
  <pre><code>Zend Extension Build    API220090626,TS,VC6 
  PHP Extension Build     API20090626,TS,VC6 
  Debug Build             no 
  Thread Safety           enabled
  </code></pre>