Home » Php » Setup Xdebug for Laravel on Windows

Setup Xdebug for Laravel on Windows

Posted by: admin October 29, 2018 Leave a comment


Now I am learning Laravel, but the problem is: when trying to debug blade.php code it does not work, dont hit the breakpoin

Do you know how to make Xdebug work with Laravel?


Windows 8.1

Code editor:

Visual Studio code

Route of the laravel project:


PHP path:


PHP.ini configuration:

zend_extension = "C:\Users\SleekBook\scoop\apps\php.2.5\php_xdebug-2.6.0-7.2-vc15-x86_64.dll"
xdebug.remote_enable = 1
xdebug.remote_autostart = 1
xdebug.remote_connect_back = 1
xdebug.show_local_vars = 1
xdebug.remote_host =
xdebug.remote_port = 9000

The server local its online

"version": "0.2.0",
    "configurations": [
            "name": "Listen for XDebug",
            "type": "php",
            "request": "launch",
            "port": 9000
            "name": "Launch currently open script",
            "type": "php",
            "request": "launch",
            "program": "${file}",
            "cwd": "${fileDirname}",
            "port": 9000