Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>debug-inserter PHPNew to Visual Studio Code? Get it now.
debug-inserter PHP

debug-inserter PHP

Víctor Sabido

|
5 installs
| (0) | Free
Insert debug(selectedText) below the line
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

debug-inserter README

This VS Code extension lets you quickly insert debugging functions dd() and dump() right below the selected line in your editor, using commands available from the command palette.

Features

  • Inserts dd(selectedText); below the selected line using the command debug-inserter.insertDd.
  • Inserts dump(selectedText); below the selected line using the command debug-inserter.insertDump.
  • Compatible with any programming language.
  • No default keyboard shortcuts are set, allowing each user to configure their own.

Requirements

There are no additional requirements to use this extension.

Extension Settings

This extension does not add any extra settings to VS Code.

Keybindings

No default keyboard shortcuts are set. You can assign your own shortcuts from the VS Code keyboard shortcuts settings by searching for the commands:

  • debug-inserter.insertDd
  • debug-inserter.insertDump

Example: Setting up custom keybindings

  1. Open the command palette (Ctrl+Shift+P or F1).
  2. Type and select "Preferences: Open Keyboard Shortcuts".
  3. Search for the command, for example: debug-inserter.insertDd.
  4. Click the pencil icon ✏️ and assign your preferred shortcut.

Or edit your keybindings.json file directly like this:

{
    "key": "ctrl+alt+d",
    "command": "debug-inserter.insertDd",
    "when": "editorTextFocus"
},
{
    "key": "ctrl+alt+u",
    "command": "debug-inserter.insertDump",
    "when": "editorTextFocus"
}
  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft