I haven’t experienced this problem myself, but I think I’ve seen in other threads that the new non-llvm backend, which is used by default in default/debug mode, is not compatible with the debuggers. If you want to try it, you can add -fllvm when running build-exe and then trying debugging with lldb. I could be wrong.
Or to use zig build see this note in the other thread: