Language server
clangd gotcha:
brew install llvm is keg-only on macOS, it doesn’t link clangd onto PATH. Coder checks /opt/homebrew/opt/llvm/bin (Apple Silicon) and /usr/local/opt/llvm/bin (Intel) directly, so no PATH changes are needed. For accurate diagnostics on anything beyond a single file, clangd also needs a compile_commands.json in the project root, generate one via CMake (-DCMAKE_EXPORT_COMPILE_COMMANDS=ON) or bear/compiledb for Makefile-based projects.
Debugger
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 for the debugger UI itself.
Tested on
macOS (Apple Silicon). Windows and Linux paths aren’t documented yet, on Linux,clangd/lldb-dap from your distro’s LLVM package should follow the same plain-PATH resolution without the Homebrew keg-only workaround.