Working on FLAVOR support in portmaster

Sebastian Schwarz seschwar at gmail.com
Mon Dec 11 22:41:47 UTC 2017


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.


More information about the freebsd-ports mailing list