kdeinit is gone, use KDE_SLAVE_DEBUG_WAIT in kioslave instead
Basically copying the code from kdeinit, and adapting it slightly.
To debug an ioslave, use the same KDE_SLAVE_DEBUG_WAIT env var: export KDE_SLAVE_DEBUG_WAIT=all kioslave5: Suspending process to debug io slave(s): all kioslave5: 'gdb kioslave5 28008' to debug kioslave5: 'kill -SIGCONT 28008' to continue
export KDE_SLAVE_DEBUG_WAIT=file kioslave5: Suspending process to debug io slave(s): file kioslave5: 'gdb kioslave5 25208' to debug kioslave5: 'kill -SIGCONT 25208' to continue