### Configuring CLion for debugging Use https://github.com/asdf-vm/asdf with https://github.com/allemangd/asdf-zig for the versioned zig master in `.tool-versions`. Build ZLS with that zig and point ZigBrains to it. Custom Build Application configurations: - `zig-shape` uses custom target `zig build -fincremental` and executes `zig-out/bin/zig-shape`. - `exe-unit-tests` uses custom target `zig build -fincremental build-tests` and executes `zig-out/dev/exe-unit-tests` - `lib-unit-tests` uses custom target `zig build -fincremental build-tests` and executes `zig-out/dev/lib-unit-tests` Then native "build", "run", and "debug" buttons will work. Optionally create a "clean" target that executes `rm -r .zig-cache zig-out` Switching between debug and release build is more difficult. Probably easier to run release builds only via CLI, like `zig build --release=fast` or `zig build --release=fast test`.