Skip to content

Quick Start

Installation

  1. Open VSCode
  2. Press Ctrl+Shift+X to open the Extensions panel
  3. Search for "Console Log Helper"
  4. Click Install

From VSIX File

  1. Download the .vsix file
  2. In the Extensions panel, click ...Install from VSIX
  3. Select the downloaded file

First Use

  1. Open a JS/TS/Vue file
  2. Select a variable, e.g. userName
  3. Press Ctrl+Alt+L
js
const userName = getUser()
console.log(userName, `userName`) // ← inserted automatically

When you're done debugging:

  • Press Ctrl+Alt+C to comment all console.log lines
  • Press Ctrl+Alt+U to restore them
  • Press Ctrl+Alt+D to delete them all

Next Steps

Released under the MIT License.