Use pid for files created in pydevd logging. Fixes #1831

This commit is contained in:
Fabio Zadrozny 2019-10-15 08:02:54 -03:00
parent 8a9968bab6
commit c0108c08b5
10 changed files with 237 additions and 77 deletions

View file

@ -21,10 +21,8 @@ from tests import code, timeline, watchdog
from tests.debug import comms, config, output
from tests.patterns import some
DEBUGGEE_PYTHONPATH = tests.root / "DEBUGGEE_PYTHONPATH"
StopInfo = collections.namedtuple(
"StopInfo", ["body", "frames", "thread_id", "frame_id"]
)
@ -296,8 +294,6 @@ class Session(object):
env.update(
{
"PTVSD_LOG_DIR": self.log_dir.strpath,
"PYDEVD_DEBUG": "True",
"PYDEVD_DEBUG_FILE": (self.log_dir / "pydevd.log").strpath,
}
)