bazelbuild/vscode-bazel

How to add breakpoint when “Build Target with Starlark Debugger”

oscarthecat opened this issue · 2 comments

i can't click on left side of BUILD.bazel file(current project) or .bzl file(source file in external dir) to add a breakpoint (red point) in vscode.

Build Target with Starlark Debugger runs ok, it just no stop because no breakpoints.

my vscode version 1.86.2
bazel plugin version 0.9.0
macos version 14.3.1 (23D60)
bazel 6.2.1

how can i add breakpoint? thanks

Adding breakpoints works okay for me, although I am running Linux and don't have access to a Mac machine. Do you have a reproducer for this?

Breakpoints dont appear to work in macros, from some quick experimentation it appears to only work inside rules