I am trying to compile my c++ code with bazel. i want to dig deeply into what happened behind the surface. is there any debugger tool(like a gdb debugger) that can be used to debug the google bazel skylark code, i want to track the bazel skylark script execution step by step and how?
Thanks!
Starlark is a dialect of Python intended for use as a configuration language. A Starlark interpreter is typically embedded within a larger application, and this application may define additional domain-specific functions and data types beyond those provided by the core language.
Unfortunately there's no Skylark debugger yet.
Though it's not a debugger, you can use print
to print debug messages.
Use VSCode with the Bazel plugin. In the future, I hope other IDEs/tools will support the protocol too.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With