• Make sure that Docker is properly configured and running, that means we require Windows 10 Pro with Hyper-V activated.
  • Find out the Local gateway IPv4 address ( ipconfig from powershell or cmd ) or clicking on parameters of connection
  • Comment default “xdebug = on” parameter or delete it from the lando.yml file and use custom php.ini “conf : php: config/php.ini
  • Use the code at /.lando/services/config/(my_recipe)/php.ini and paste it to the config/php.ini file of the lando environment folder
  • Add this parameters to our custom php.ini in the xdebug section replacing local_IPv4_address by the real address
    xdebug.remote_enable = 1
    xdebug.remote_host = local_IPv4_address
    xdebug.idekey = PHPSTORM
  • lando restart !!!

xdebuglando

Leave a Reply

Your email address will not be published. Required fields are marked *