Network: add debug support to catch exception generated by processes