Overview
Features
Settings
Include line num
The includeLineNum setting allows you to include the line number in log messages, making it easier to pinpoint the exact location of each log message. This is especially useful for debugging complex codebases, Providing accurate tracking of log locations for efficient debugging.
Usage
To enable the Include Line Number setting:
Go to VS Code settings: File → Preferences → Settings (or Code → Preferences → Settings on Mac). Search for includeLineNum and toggle it on.
In your code:
Once enabled, Turbo Console Log will append the line number to log messages. Example output:
console.log('🚀 ~ :42 → SelectedVariable:', SelectedVariable);
Enabling includeLineNum improves debugging by displaying the exact line number where logs are generated. This setting is disabled by default.