blob: 462302e5ec2702f14f9c5ad6474e4b218ba6b087 [file] [log] [blame]
// viewing-logs-from-language-servers-and-debug-adapters
[id="viewing-logs-for-php-debug_{context}"]
= Viewing logs for PHP-Debug
This procedure describes how to configure the PHP Debug plug-in to log the PHP Debug plug-in diagnostic messages into the *Debug Console* view. Configure this before the start of the debug session.
.Procedure
. In the `launch.json` file, add the `"log": true` attribute to the selected launch configuration.
. Start the debug session.
. The diagnostic messages are printed into the *Debug Console* view along with the application output.
+
image::logs/viewing-logs-for-php-debug.png[]