add process debug: set detach option