Fix lldb-vscode logging and enable logging for all lldb-vscode tests.
authorGreg Clayton <gclayton@fb.com>
Thu, 13 Feb 2020 16:44:07 +0000 (08:44 -0800)
committerGreg Clayton <gclayton@fb.com>
Thu, 13 Feb 2020 17:58:30 +0000 (09:58 -0800)
commit7202d1c2f6c83e989979bb76a61cbe1d0c859420
treec6730d565278b250b8dd99c9a796782a159d4ee6
parentf0b57d8071853ec2ab459c0492854c67ea4fa93c
Fix lldb-vscode logging and enable logging for all lldb-vscode tests.

Summary:
This patch fixes logging to log incoming packets which was removed during a refactor.

We also enable logging to a "vscode.txt" file for each lldb-vscode test by creating the log file in the build artifacts directory for each test. This allows users to see the packets for their tests if needed and the log file is in a directory that will be removed after tests have been run.

Reviewers: labath, aadsm, serhiy.redko, jankratochvil, xiaobai, wallace

Subscribers: lldb-commits

Tags: #lldb

Differential Revision: https://reviews.llvm.org/D74566
lldb/packages/Python/lldbsuite/test/tools/lldb-vscode/lldbvscode_testcase.py
lldb/packages/Python/lldbsuite/test/tools/lldb-vscode/vscode.py
lldb/tools/lldb-vscode/VSCode.cpp