I'm just starting out with Pascal and prefer working on the command line and fpc with emacs.
"writeln" works fine to inspect scalar variables but I wonder if there is a quick and convenient way to just dump (print, write, or inspect) arrays and complex types (maybe with some sort of implicit conversion) similar to the how the "Debug Inspector" works in the Lazarus IDE?
Alternatively, what is the recommended approach to debugging/inspecting variables without the IDE (with gdb I have to manually format my data types so that's not so convenient)?