I donβt think it is that simple. In any case, in my experience, βtop-levelβ debugging experience is often not as good as debugging with functions, for example, if you have ten lines of code at the top level, change it to
let Main() =
and debugging experience can improve.
Brian source share