Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>Console Log DebuggerNew to Visual Studio Code? Get it now.

Console Log Debugger

Far Se

|
148 installs
| (1) | Free
Add console.log line with a shortcut for easy debugging
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

console-log-debugger README

Easy way to add console log for debugging, works for any language, just modify the settings

Settings

Open settings.json and add these:

    "consoleLog.config" : {
        "javascript": "console.log('{count}: Line {line} {current}",
        "php": "echo \"{count}: Line {line} {current}\\r\\n\";",
        "plaintext": "[DEBUG] {count}: Line {line}, {current}"
    } 

  • Contact us
  • Jobs
  • Privacy
  • Terms of use
  • Trademarks
© 2019 Microsoft