Skip to main content

Documentation Index

Fetch the complete documentation index at: https://mintlify.com/pouryazardosht/nestjs-devtools/llms.txt

Use this file to discover all available pages before exploring further.

Every NestJS DevTools shortcut uses a two-key chord prefixed with Cmd+L on macOS or Ctrl+L on Windows / Linux. Grouping all bindings under a single prefix makes them easy to discover and remember as one cohesive family — once you learn the prefix, the second key follows a logical letter pattern (e.g. D for debug, E for error, M for module).

Logger shortcuts

These shortcuts insert a this.logger.<method>(...) statement on the line after the current selection. They require an active text selection in the editor — pressing one with nothing selected shows a warning message instead of inserting code.
CommandmacOSWindows / LinuxWhen
Insert debug logCmd+L Cmd+DCtrl+L Ctrl+DEditor focused
Insert log logCmd+L Cmd+LCtrl+L Ctrl+LEditor focused
Insert warn logCmd+L Cmd+WCtrl+L Ctrl+WEditor focused
Insert error logCmd+L Cmd+ECtrl+L Ctrl+EEditor focused
Insert verbose logCmd+L Cmd+VCtrl+L Ctrl+VEditor focused
All five logger shortcuts require an active text selection. If you press a logger shortcut with no text selected, the extension shows the warning ⚠️ Select a variable or expression first and does not insert anything.

These shortcuts open the module file quick-pick panel. You can type a file-type shortcut letter (e.g. s for Service, c for Controller) inside the panel to jump to that file instantly without pressing Enter.
CommandmacOSWindows / LinuxWhen
Open Module Files (browse all modules)Cmd+L Cmd+MCtrl+L Ctrl+MAny
Search Module Files (from current file)Cmd+L Cmd+KCtrl+L Ctrl+KEditor focused
Open Module Files (Cmd+L Cmd+M / Ctrl+L Ctrl+M) is available even when no editor is open, making it a useful entry point when you first open the workspace. Search Module Files (Cmd+L Cmd+K / Ctrl+L Ctrl+K) requires an active editor so it can infer the current module from the open file’s path.

Customising shortcuts

VS Code allows you to rebind any extension shortcut to a key combination of your choice.
1

Open the Keyboard Shortcuts editor

Open the Command Palette (Cmd+Shift+P / Ctrl+Shift+P) and run Preferences: Open Keyboard Shortcuts.
2

Filter to NestJS DevTools bindings

In the search box at the top of the Keyboard Shortcuts editor, type nestjs-log-helper to display only the NestJS DevTools bindings.
3

Reassign a binding

Hover over the binding you want to change and click the pencil icon on the left. Press your desired key combination and confirm with Enter. The new binding takes effect immediately.

Build docs developers (and LLMs) love