Debugging with Pluto #2627
-
hello - is it possible to debug with Pluto by setting breakpoints and stepping into the code this is possible with VSCode, but breaks for some code I'm running due to a bug in Interpreter.jl : JuliaDebug/JuliaInterpreter.jl#574 thank you. |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments
-
No, this is not possible at the moment. You could theoretically disable all cells and run them one by one, but that wouldn't work very well with reactivity. Some special UI to do this step-by-step would actually be nice! |
Beta Was this translation helpful? Give feedback.
-
@sophia-wright-blue You might want to look at the very recently released https://github.com/disberd/PlutoVSCodeDebugger.jl For code defined inside notebooks you still have to set breakpoints manually (as written in the documentation) but I have some ideas on how to try making VSCode breakpoint on the notebook file work. Hopefully this will be a feature in a next release |
Beta Was this translation helpful? Give feedback.
-
this is amazing! thank you so much for letting me know @disberd and for releasing this package and for the cool video demos! I'll keep track of your repo in case it's helpful to you, there are a couple of issues that are WIP for debugging with VSCode: |
Beta Was this translation helpful? Give feedback.
No, this is not possible at the moment. You could theoretically disable all cells and run them one by one, but that wouldn't work very well with reactivity.
Some special UI to do this step-by-step would actually be nice!