Fix various bugs around handling of disconnect in JsonIOStream and JsonMessageChannel.
Fix handling of DAP "terminated" event in debug.Session.
Add --ptvsd-logs and --pydevd-logs switches to pytest.
Improve message logging to fully capture the raw message data in the logs if deserialization fails.
Log all debuggee environment variables in debug.Session, and improve log readability.
* Replace wait_for_thread_stopped with wait_for_stop
* Switch flask tests to use flask server
* Assert linter
* Use marked lines
* Fix stack logging in tests
* Prevent black from formating some debug code
* Simplify flask tests
* Replace send_request(continue) with send_continue
* fix typo
* Update ANY to some
* Refactor breakpoint lines in tests
* Replace old import and emable debug with debug_me
* Remove unused code
* Fix some linter issues
* Change from some.such_that to some.str.such_that
* Linting with black