Quick Start
Installation
From VSCode Marketplace (Recommended)
- Open VSCode
- Press
Ctrl+Shift+Xto open the Extensions panel - Search for "Console Log Helper"
- Click Install
From VSIX File
- Download the
.vsixfile - In the Extensions panel, click
...→ Install from VSIX - Select the downloaded file
First Use
- Open a JS/TS/Vue file
- Select a variable, e.g.
userName - Press
Ctrl+Alt+L
js
const userName = getUser()
console.log(userName, `userName`) // ← inserted automatically
When you're done debugging:
- Press
Ctrl+Alt+Cto comment all console.log lines - Press
Ctrl+Alt+Uto restore them - Press
Ctrl+Alt+Dto delete them all
Next Steps
- Learn about Features
- Customize the log template in Configuration
- Check the Shortcuts