Skip to content

Instantly share code, notes, and snippets.

@franxo
Created February 29, 2024 12:48
Show Gist options
  • Save franxo/cb8654fbd1a5bebff395fe5bedc32a13 to your computer and use it in GitHub Desktop.
Save franxo/cb8654fbd1a5bebff395fe5bedc32a13 to your computer and use it in GitHub Desktop.
Lando + PhpStorm + Xdebug
services:
appserver:
xdebug: true
config:
php: .lando/config/php.ini
#file folder: .lando/config/
[PHP]
xdebug.max_nesting_level = 256
xdebug.show_exception_trace = 0
xdebug.collect_params = 0
xdebug.mode = debug
xdebug.client_port = 9003
xdebug.start_with_request = yes
#Source: https://github.com/lando/lando/issues/2718#issuecomment-749476690
PHP > CLI Interpreter > devwithlando/php:<php_version>-apache-4
PHP > CLI Interpreters > Additional > Debugger extension > <folder to xdebug.so>
source: https://github.com/lando/php/issues/6#issuecomment-980793941
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment