- Install XAMPP v3.2.4 x64 in
c:\xampp
and set path to environment variable
- Get all text in
phpinfo()
and download dll file as per https://xdebug.org/wizard and copy inc:\xampp\php\ext
and add textzend_extension=path
in end ofphp.ini
and checkphpinfo()
page and xdebug adding to this
- Add
[XDebug] xdebug.remote_enable = 1 xdebug.remote_autostart = 1
in php.ini
- Install VSCode v1.52.1
- install Php Debug v1.13.1
- Create project in
htdocs
name of test and create file in totest.php
Text in to
test.php
and set breakpoint in lineCreate automatic
launch.json
for PHP
Start debug
Start chrome and url:
localhost/test/test.php
But when refresh page breakpoint not working and not stop code.