Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Debug the source in my own machine #82

Open
zenglw06 opened this issue Aug 13, 2019 · 1 comment
Open

Debug the source in my own machine #82

zenglw06 opened this issue Aug 13, 2019 · 1 comment

Comments

@zenglw06
Copy link

If I want to add some features, how can I debug the source code. I want to inspect more information as the code runs. And I didn't find the debug instruction.

@bobzhuyb
Copy link
Member

bobzhuyb commented Aug 13, 2019

You can check this https://github.com/bytedance/byteps/blob/master/docs/env.md#byteps-debug

The most useful one is this

export BYTEPS_LOG_LEVEL=TRACE

But it may print too many things. The following will only print things during initialization stage.

export BYTEPS_LOG_LEVEL=DEBUG

What exactly the info do you want to get?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants