Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>Laravel DD - Dump and DieNew to Visual Studio Code? Get it now.
Laravel DD - Dump and Die

Laravel DD - Dump and Die

Saurabh Gopani

|
32 installs
| (0) | Free
A VS Code extension to quickly insert dd() in Laravel projects.
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

Laravel Debug Helper for VS Code

A simple VS Code extension that helps Laravel developers quickly insert dd($variable); in PHP files and @dd($variable); in Blade files.

🚀 Features

  • Select any variable, press Alt + D, and it will:
    • Insert dd($variable); on a new line in PHP files.
    • Insert @dd($variable); on a new line in Blade (.blade.php) files.
  • Maintains correct indentation for better readability.

🛠 Installation

From VS Code Marketplace

  1. Open VS Code.
  2. Go to Extensions (Ctrl + Shift + X).
  3. Search for "Laravel Debug Helper" and click Install.

Manually (Using .VSIX File)

  1. Download the .vsix file.
  2. Open VS Code, press Ctrl + Shift + P → Search "Extensions: Install from VSIX".
  3. Select the .vsix file and install.

🎯 Usage

  1. Open a PHP or Blade file.
  2. Select a variable (e.g., $variable).
  3. Press Alt + D.
  4. The extension will insert:
    • dd($variable); in PHP files.
    • @dd($variable); in Blade files.

Example

Before (Selecting $variable)

$variable = Modal::where('id', $id)->get();
  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft