How can I increase the verbosity of the build process? Bazel seems to print compiler commands only if something goes wrong during the build.
I would like to see which compiler comands the cc_library rule fires, even if everything seems to be fine, to debug linking problems. I already tried various bazel command line parameters but nothing gives me the compiler commands :(
This is probably what you are looking for
bazel build -s //my:target
The -s
switch makes Bazel print out all the invoked commands.