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

CAN not hit breakpoint when debugging Operator python file #262

Open
FlowEternal opened this issue May 19, 2022 · 1 comment
Open

CAN not hit breakpoint when debugging Operator python file #262

FlowEternal opened this issue May 19, 2022 · 1 comment

Comments

@FlowEternal
Copy link

i wanna debug Operator python file (e.g. DetectionOperator)
i use vscode and ssh to docker container
and add breakpoint in functions like __run_model in Operator python file. but it seems that it can not hit break point when erdos.internal is involved
am I missing something?

@pschafhalter
Copy link
Member

Hi,

To provide concurrency, ERDOS runs Pylot's operators in different processes, which may make debugging difficult. You may need to connect the debugger to the python process running the operator with the breakpoint (which might not be possible if you are using pdb).

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