DoanKhanhDev / Lando-VSCode

Provide lando extension for Vscode
0 stars 0 forks source link

lando-vscode

Features

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:

feature generate file

Available configurations:

Xdebug3 Tutorial

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
      }
    }
  ]
}

Release Notes

Detailed Release Notes are available here.

Visual Studio Marketplace

This extension is available on the for Visual Studio Code.

Related DOC