On 2017-12-10, Stefan Esser wrote: > Debugging shell scripts is a lot of work, since you cannot > single step through them.
There are a few shell debuggers: - http://bashdb.sourceforge.net/ - https://github.com/rocky/kshdb/ - https://github.com/rocky/zshdb/ However none of them is for plain POSIX Bourne Shell. But you might be able to run the other shells in a appropriate compatibility mode ("bash --posix" or "env POSIXLY_CORRECT=1 bash" for example). I haven't use the debuggers extensively, so I don't know how well they work. But they might be of some use to you. _______________________________________________ freebsd-ports@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/freebsd-ports To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"