(setup_tracing=True)
| 228 | |
| 229 | |
| 230 | def _on_forked_process(setup_tracing=True): |
| 231 | pydevd_constants.after_fork() |
| 232 | pydev_log.initialize_debug_stream(reinitialize=True) |
| 233 | |
| 234 | if setup_tracing: |
| 235 | pydev_log.debug("pydevd on forked process: %s", os.getpid()) |
| 236 | |
| 237 | import pydevd |
| 238 | |
| 239 | pydevd.threadingCurrentThread().__pydevd_main_thread = True |
| 240 | pydevd.settrace_forked(setup_tracing=setup_tracing) |
| 241 | |
| 242 | |
| 243 | def _on_set_trace_for_new_thread(global_debugger): |