decorator? ie can I step through code running on a remote instance?
v
victorious-lawyer-58417
10/24/2023, 1:07 AM
it's doable! @hallowed-glass-14538 do you remember how you got it done?
a
adorable-oxygen-86530
10/24/2023, 3:49 PM
If I may jump in: I would be interested if there is something for @kubernetes as well 🙂 I once opened this ticket https://github.com/Netflix/metaflow/issues/1481 and discussed some ideas with @bulky-afternoon-92433 but we did not proceed here. Do you have anything in mind for such a use case?
h
hallowed-glass-14538
10/24/2023, 7:36 PM
here is the outline of what it can look like :
You will need to the following :
1. Remote-pdb
2. Ngrok : you can use pyngrok
Remote pdb is used to set trace in the flow code. Ngrok is used to create a TCP tunnel from the port on which remote pdb has started. You can use telnet to connect to that port and walk through pdb