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
  1. In the launch.json file, add the "log": true attribute to the selected launch configuration.

  2. Start the debug session.

  3. The diagnostic messages are printed into the Debug Console view along with the application output.

    viewing logs for php debug