Refactor tests.debug to accommodate ptvsd.server spawning the adapter, and remove the need for "custom_client" and "custom_server" start methods.

Fix launcher not propagating debuggee exit code.

Fix attach-by-PID without explicit --log-dir overriding PTVSD_LOG_DIR (and disabling logging).

Improve test logging, with a separate directory for every test.

Various test fixes.
This commit is contained in:
Pavel Minaev 2019-09-13 19:59:11 -07:00 committed by Pavel Minaev
parent 346ebd47cd
commit 8f358d6e0f
45 changed files with 1878 additions and 2818 deletions

2
.vscode/launch.json vendored
View file

@ -11,7 +11,7 @@
"console": "integratedTerminal",
"consoleTitle": "ptvsd.adapter",
"program": "${workspaceFolder}/src/ptvsd/adapter",
"args": ["--port", "8765", "--cls"],
"args": ["--port", "8765", "--log-stderr"],
"customDebugger": true,
},