Fixed multi-process and debug