> ## Documentation Index
> Fetch the complete documentation index at: https://docs.coderide.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# Zig

> LSP and debugger setup for Zig in Coder.

<img src="https://mintcdn.com/coder-ide/xGYxbscsCmJOCfrf/media/Zig.jpg?fit=max&auto=format&n=xGYxbscsCmJOCfrf&q=85&s=c9186cbd158ff45e18e9ba2e64add977" alt="Zig LSP" width="3456" height="2096" data-path="media/Zig.jpg" />

## Language server

| Server | Install |
| - | - |
| [zls](https://github.com/zigtools/zls) | `brew install zls` |

## Debugger

| Adapter | Install | Notes |
| - | - | - |
| [lldb-dap](https://lldb.llvm.org/) | Ships with Xcode Command Line Tools, or `brew install llvm` | Zig binaries are natively LLDB-debuggable, so this reuses the exact same adapter as Rust. Requires a binary already built with `zig build` (default output: `zig-out/bin/<name>`), Coder does not build it for you. |

`brew install llvm`'s `lldb-dap` isn't linked onto `PATH` by default on macOS, you may need to add `$(brew --prefix llvm)/bin` to your `PATH`, or symlink it into `/opt/homebrew/bin`.

See [Debugger](/debugger) for the debugger UI itself.

## Tested on

macOS (Apple Silicon). Windows and Linux paths aren't documented yet.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.