Search code examples
f#bolero

Bolero (F# Blazor) Debugging


Does someone know how to debug a Bolero project? In particular, is it possible (and how) to debug the client project using and IDE (VS or VS code) or directly in the browser (source mappings)?


Solution

  • Currently there is no ability to debug Bolero (Client side) in the browser that I'm aware of. I recommend using a console trace to watch your model and updates: example. Additionally I've been adding heavy logging for my Bolero project, I find that's often easier with functional code anyways.

    You may be able to use the Blazor debugging techniques though I suspect the mappings won't translate back to F#.