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

[KIT-73] fn.pdb(args, kwargs) #34

Closed
dongreenberg opened this issue Mar 23, 2023 · 0 comments
Closed

[KIT-73] fn.pdb(args, kwargs) #34

dongreenberg opened this issue Mar 23, 2023 · 0 comments

Comments

@dongreenberg
Copy link
Contributor

At one point we had breakpoints and pdb working using RPyC (it's still in function.py at 379). It might be worth trying to get that working again.

Another option barring that:

When user calls fn.pdb, start a new rpc server on the cluster on a different port and a new screen name (e.g. fn_name_timestamp), dedicated to this function. Then, start an ssh terminal into the cluster with `screen -r screen_name`.

Also could be worth exploring the pty approach Modal took.

Cc @Caroline

From SyncLinear.com | KIT-73

@dongreenberg dongreenberg closed this as not planned Won't fix, can't repro, duplicate, stale Sep 23, 2023
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

1 participant