Howto debug source code without compilation?

Can you present how you debug your OCaml programs?
Except with ocamldebug that requires to compile with -g option.

Is there a way to do it simply with source code?

I used to work with Matlab which has some good debugging tools, with presentation of any computed values, etc.
It was straightforward and pleasant to use