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

How to debug an Agent process #360

Open
bangxiangyong opened this issue Aug 6, 2020 · 1 comment
Open

How to debug an Agent process #360

bangxiangyong opened this issue Aug 6, 2020 · 1 comment

Comments

@bangxiangyong
Copy link

Is there a way to attach a debugger to an agent? e.g putting breakpoints and stepping through the functions being called.

Or, what is the recommended way to debug the agent?

@Peque
Copy link
Member

Peque commented Aug 9, 2020

@bangxiangyong It should be possible. Once I had a look at "remote debugging" tools in Python and there seemed to exist. Basically what you need is a tool to debug other processes.

Currently that is not integrated, but I would be glad to integrate the necessary changes if you find out a good way to do it. Please keep this issue updated with your discoveries! 😄

In a multi-agent system that may not be that useful, since only one agent will be stopped. You can currently debug "manually" by using a proxy to a running agent, or by creating test, which is the best way to ensure proper behavior of your agents. 😜

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

No branches or pull requests

2 participants