Reputation: 660
How can I watch @debug result in scss?
I'm using the Live Sass Compiler by Glenn Marks in VSCode. Is there a way I can see the debug output in the terminal or chrome console?
Code example:
@debug 'hello world';
@debug math.div(10, 3);
Upvotes: 1
Views: 2321
Reputation: 1409
More specifically (as from another answer pointed out); (in multiple diff ways)::
|-| ctrl+shift+p
> Preferences: Open Settings (UI)
(workbench.action.openSettings2
) > Workspace > Live Sass Compile > Settings: Show Output Window On > Debug
|-| ctrl+shift+p
> Preferences: Open Workspace Settings (JSON)
(workbench.action.openWorkspaceSettingsFile
) > paste "liveSassCompile.settings.showOutputWindowOn": "Debug"
|-| ctrl+shift+p
> exec liveSass.command.showOutputOn.debug
|-| (or you may use comments as an output, as a workaround...)
Reference::
https://github.com/ritwickdey/vscode-live-sass-compiler/issues/234#issuecomment-762474594 (outdated?)
Upvotes: 1