There is some rather limited debugging functionality available by using a serial cable between the Netware box and the Linux host.
On the Netware box you need to run a compiler stub called gdbserve.nlm. It will start the program to be compiled and open the serial port. On the Linux host you will run i386-netware-gdb and tell it to use the serial line to access the compilation target. However there are certain problems with gdbserve.nlm:
The NLM on the Netware box does not need to include debug infos. Only the copy of the NLM used on the Linux box for debugging needs to include debug infos. Removing debug infos from an already created NLM with i386-netware-strip seems to result in a a broken NLM. Use the -s linker switch as a workaround if you need a stripped binary.
set Cpu Hog Amount = 0 sys:\tmp\gdbserve sys:\tmp\hello.nlm
i386-netware-gdb hello.nlm
target remote /dev/ttyS0
break main cont
There is an alternative approach to debugging on Netware by Armin Diehl: http://home.arcor.de/armin.diehl/fpcnw/gdbnw.html . I have not tried that yet. The main advantage seems to be that it works with TCP/IP.
http://developer.novell.com/ndk/doc/clib/index.html?page=/ndk/doc/clib/ndev_enu/data/hqelnt4z.html
There is also some parameter to server.exe that enables development features, no idea what that is good for yet.