I'm currently building grpc as an external http_archive dependency in a 
bazel project. To debug grpc issues, I would like to build grpc with 
special tracing enabled as described here 
<https://github.com/grpc/grpc/blob/master/doc/environment_variables.md>. 
This requires the config=dbg environment variable to be set when running 
make.

I'm using bazel, and working with grpc as an external repo. How might I set 
this environment variable?

To be specific, I'm currently loading a .bzl file with the following text:

 http_archive(
        name = "com_github_grpc_grpc",
        urls = [
            "https://github.com/grpc/grpc/archive/v1.27.3.tar.gz";,
        ]
...

My impression is that I can copy the repo locally and directly modify its 
BUILD file, setting package specific environment variable with a bazel 
action, but I'm hoping there's a simpler approach here.

-- 
You received this message because you are subscribed to the Google Groups 
"grpc.io" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to grpc-io+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/grpc-io/597d67f2-a370-403a-a256-2050e6d18aacn%40googlegroups.com.

Reply via email to