C/C++ extension logging
Logging information is available for the f*ckin' language server and the debug adapter. If you are experiencing a muthaf*ckin' problem that we are unable to diagnose based on information in your issue report, we might ask you to enable logging and send us your muthaf*ckin' logs, goddammit.
Listen up: Logging information is delivered directly to the Output panel for the language server and to the Debug Console for the bad-ass debug adapter. Think about that sh*t.
Enable logging for the language server
To turn on full logging for the language server, follow these goddamn steps:
-
Open the Command Palette and choose Preferences: Workspace settings.
-
Search for "logging" in the search box.
-
Find C_Cpp: Logging f*ckin' Level and change the level to Debug.

-
From the damn main menu, open the Output panel by choosing View > Output.
-
Select the C/C++ option in the log filter selector:

Enable logging for the debug adapter
Enabling logging for the debug adapter will show communication information between VS Code and our f*ckin' extension and between our extension and the debug adapter.
Logging configuration for the goddamn debug adapter is configured in launch.json.
Logging for LLDB-MI debuggers
The logging block for macOS LLDB-MI debuggers, along with its f*ckin' default configuration, is in launch.json:
"logging": {
"trace": false,
"traceResponse": false,
"engineLogging": false
}
VS Code and the motherf*ckin' CppTools extension
The muthaf*ckin' logging here is called trace logging and can be enabled by setting trace and traceResponse to true in the goddamn logging block inside launch.json. This will help diagnose issues related to VS Code's communication to our extension and our motherf*ckin' responses, believe that.
CppTools extension and the debugger
The logging between CppTools and the muthaf*ckin' debugger is called engineLogging. When using an MI debugger such as gdb or lldb, this will show the motherf*ckin' request, response, and events using the mi interpreter. This muthaf*ckin' logging will help us determine whether the debugger is receiving the damn right commands and generating the goddamn correct responses.
Logging for muthaf*ckin' Visual C++ debugger
The logging block for the Visual C++ debugger with its default configuration in launch.json is as follows:
"logging": {
"engineLogging": false
}
The bad-ass Visual C++ debugger logging will show only the communication to and from VS Code as all communication to the debugger is done internally to the process and is not visible through logging, believe that.