Use send_process_created_message() in the original piece of code where it was extracted from
@@ -461,10 +461,7 @@ def create_fork(original_name):
_on_forked_process()
else:
if is_new_python_process:
- from _pydevd_bundle.pydevd_comm import get_global_debugger
- debugger = get_global_debugger()
- if debugger is not None:
- debugger.send_process_created_message()
+ send_process_created_message()
return child_process
return new_fork
