From 14cf17c63b776dde7ee294922acc0119ad45bdab Mon Sep 17 00:00:00 2001 From: Dmitry Trofimov Date: Fri, 24 Oct 2014 17:38:08 +0200 Subject: [PATCH] Correct detach. --- .../pydevd_attach_to_process/add_code_to_python_process.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/python/helpers/pydev/pydevd_attach_to_process/add_code_to_python_process.py b/python/helpers/pydev/pydevd_attach_to_process/add_code_to_python_process.py index 05a3d7957fcb..51264ceea75e 100644 --- a/python/helpers/pydev/pydevd_attach_to_process/add_code_to_python_process.py +++ b/python/helpers/pydev/pydevd_attach_to_process/add_code_to_python_process.py @@ -536,7 +536,8 @@ def run_python_code_mac(pid, python_code, connect_debugger_tracing=False, show_d cmd.extend([ "-o 'process continue'", - "-o 'script import os; os._exit(1)'", + "-o 'process detach'", + # "-o 'script import os; os._exit(1)'", ]) #print ' '.join(cmd)