crl + shift + p
and type Lando: generate .lando.yml file
Lando: start
Lando: info
Lando: stop
Lando: rebuild
Lando: destroy
Lando: clear cache
Lando: SSh
Lando: Poweroff
Example:
Create lando/php.ini
as below
[PHP]
xdebug.max_nesting_level = 256
xdebug.show_exception_trace = 0
xdebug.collect_params = 0
xdebug.mode = debug
xdebug.client_host = ${LANDO_HOST_IP}
xdebug.client_port = 9003
xdebug.start_with_request = yes
xdebug.log = /tmp/xdebug.log
Create /.vscode/launch.json
as below
{
"version": "0.2.0",
"configurations": [
{
"name": "Listen for Xdebug",
"type": "php",
"request": "launch",
"port": 9003,
"log": true,
"pathMappings": {
"/app/": "${workspaceFolder}/"
},
"xdebugSettings": {
"show_hidden": 1
}
}
]
}
Detailed Release Notes are available here.
This extension is available on the for Visual Studio Code.