Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>Lando VSCodeNew to Visual Studio Code? Get it now.
Lando VSCode

Lando VSCode

DoanKhanhDev

|
182 installs
| (0) | Free
Support generate lando file to build env for my local
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

Lando-VSCode Extension

A powerful VS Code extension that streamlines your Lando development workflow by providing easy-to-use commands and configurations.

Key Features

Quick Commands

Access all commands via Command Palette (Ctrl/Cmd + Shift + P):

  • Lando: generate .lando.yml file - Create new Lando configuration
  • Lando: generate php.ini file - Create file php.int to support debug
  • Lando: Generate launch.json file for Xdebug - Create new Launch configuration support debug
  • Lando: start - Start Lando environment
  • Lando: restart - Restart containers
  • Lando: info - Display environment information
  • Lando: stop - Stop containers
  • Lando: rebuild - Rebuild containers
  • Lando: destroy - Remove containers
  • Lando: clear cache - Clear Lando cache
  • Lando: SSH - SSH into container
  • Lando: poweroff - Shutdown all containers

Pre-configured Development Stack

  • PHP 8.1
  • MySQL 5.7
  • Drupal 9+
  • Drush 10+
  • Composer 2
  • Mailhog
  • Xdebug 3

Configuration Guide

1. Setup .lando.yml

Use the command palette to generate a basic configuration or customize manually:

name: my-project
recipe: drupal9
config:
  php: '8.1'
  via: apache
  webroot: web
  database: mysql:5.7

2. Xdebug Setup

Create .vscode/launch.json:

{
  "version": "0.2.0",
  "configurations": [
    {
      "name": "Listen for Xdebug",
      "type": "php",
      "request": "launch",
      "port": 9003,
      "log": true,
      "hostname": "localhost",
      "pathMappings": {
        "/app/": "${workspaceFolder}/"
      },
      "xdebugSettings": {
        "show_hidden": 1
      }
    }
  ]
}

Requirements

  • Visual Studio Code 1.60.0 or higher
  • Docker Desktop
  • Lando

Installation

  1. Open VS Code
  2. Press Ctrl/Cmd + P
  3. Type ext install DoanKhanhDev.lando-vscode

Support

For issues and feature requests, please visit our GitHub repository.

Buy Me A Coffee

You can support my work by buying me a coffee!

Buy Me A Coffee

License

MIT

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft