Skip to content

Guide: How to view ZLS log output

Techatrix edited this page Jul 16, 2024 · 7 revisions

Tip

A non-debug build of ZLS will report info, warn and error log messages.

It is recommended to building from source without -Doptimize to include more verbose log messages.

Code Editor Instructions Notes
Visual Studio Code Bottom Panel -> Output -> Zig Language Server requires the ziglang.vscode-zig extension
Sublime Text LSP: Toggle Log Panel requires the LSP package
JetBrains IDE with ZigBrains Start the editor through the terminal
Helix Open the helix log file. [:log-open]
nvim-lspconfig :LspLog nvim-lspconfig Troubleshooting
NeoVim/Vim with CoC :CocCommand workspace.showOutput CoC Debug language server
Emacs with LSP-Mode lsp-workspace-show-log LSP Mode Troubleshooting
Kate Bottom Sidebar -> Output

If your code editor or extension is not included in the above table, feel free to open an issue about it or edit this page directly.

Clone this wiki locally