Search code examples
cdebuggingrustvscode-debuggerhelix-editor

How to install codelldb cli on Apple Silicon


I want to be able to debug C and Rust Code in the Helix Editor. According to its documentation, I need the lldb of VSCode, codelldb.

Any other DAP that works is fine for me.

I am using a MacBook Pro 2022 with the M2 Processor (arm64)

vscode-lldb GitHub Repository

CodeLLDB VSCode Extension

Couldn't find it on homebrew or macports.

I tried to build the v1.8.1 tag from source but got compile errors.

I think I am doing something fundamentally wrong.


Solution

  • github release just extract the file as zip and find the executable binary in there: /extension/adapter/*

    place is somewhere in the path so helix could find it