MCPcopy Create free account
hub / github.com/fabioz/PyDev.Debugger / attach

Function attach

tests_python/test_debugger.py:2995–2997  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

2993 assert writer.process is not None
2994
2995 def attach():
2996 attach_pydevd_file = os.path.join(os.path.dirname(pydevd.__file__), "pydevd_attach_to_process", "attach_pydevd.py")
2997 subprocess.call([sys.executable, attach_pydevd_file, "--pid", str(writer.process.pid), "--port", str(writer.port)])
2998
2999 threading.Thread(target=attach).start()
3000

Callers

nothing calls this directly

Calls 2

joinMethod · 0.45
callMethod · 0.45

Tested by

no test coverage detected