title: Visual Studio Code won't stop at breakpoint in PHP Xdebug
body: <p>I have move from my Thinkpad laptop to HP Elitebook. I must set my development environment in my new laptop. After setup my Visual Studio Code and XAMPP in Windows 10 Pro 64 bit edition, I can't debug my PHP code. </p>
  
  <p>I have properly installed Xdebug extension for Visual Studio Code, and make sure the php.ini correct. This is my setting for <code>php.ini</code> (I use portable XAMPP which is placed on <code>E:</code> drive):</p>
  
  <pre><code>zend_extension = "E:\xampp\php\ext\php_xdebug-2.4.1-5.4-vc9.dll"
  xdebug.remote_enable = 1
  xdebug.remote_autostart = 1
  xdebug.remote_log="E:\xampp\apache\logs\xdebug.log"
  </code></pre>
  
  <p>And my xdebug.log show information like this :</p>
  
  <pre><code>Log opened at 2018-10-27 05:56:45
  I: Connecting to configured address/port: localhost:9000.
  I: Connected to client. :-)
  -&gt; &lt;init xmlns="urn:debugger_protocol_v1" xmlns:xdebug="http://xdebug.org/dbgp/xdebug" fileuri="file:///E:/xampp/htdocs/absen/index.php" language="PHP" xdebug:language_version="5.4.3-dev" protocol_version="1.0" appid="7112" idekey="william"&gt;&lt;engine version="2.4.1"&gt;&lt;![CDATA[Xdebug]]&gt;&lt;/engine&gt;&lt;author&gt;&lt;![CDATA[Derick Rethans]]&gt;&lt;/author&gt;&lt;url&gt;&lt;![CDATA[http://xdebug.org]]&gt;&lt;/url&gt;&lt;copyright&gt;&lt;![CDATA[Copyright (c) 2002-2016 by Derick Rethans]]&gt;&lt;/copyright&gt;&lt;/init&gt;
  
  -&gt; &lt;response xmlns="urn:debugger_protocol_v1" xmlns:xdebug="http://xdebug.org/dbgp/xdebug" status="stopping" reason="ok"&gt;&lt;/response&gt;
  
  Log closed at 2018-10-27 05:56:45
  </code></pre>
  
  <p>But my Visual Studio Code won't stop at breakpoint. </p>
  
  <p>I have reinstall my Visual Studio Code, XAMPP, and using another Xdebug version but it still doesn't work.</p>
  
  <p>I have follow these links:</p>
  
  <ul>
  <li><a href="https://stackoverflow.com/questions/43783482/visual-studio-code-php-debugging-not-working">visual studio code PHP debugging not working</a></li>
  <li><a href="https://stackoverflow.com/questions/4021964/xdebug-wont-stop-at-breakpoint">xdebug won&#39;t stop at breakpoint</a></li>
  <li><a href="https://stackoverflow.com/questions/42656135/xdebug-breakpoint-fail">xdebug breakpoint fail</a></li>
  <li><a href="https://stackoverflow.com/questions/3288840/xdebug-successfully-connects-to-dbgp-clients-but-wont-stop-at-breakpoints">Xdebug successfully connects to DBGP clients, but won&#39;t stop at breakpoints</a></li>
  </ul>
  
  <p>None of these solutions work.</p>