Skip to content
This repository was archived by the owner on Sep 24, 2019. It is now read-only.

How to capture verbose log output

Steve Sanderson edited this page Oct 4, 2018 · 3 revisions

If you are reporting an issue in Razor for VS Code, we ask that you include the corresponding verbose log output.

Enabling verbose logging

To configure VS Code to generate verbose Razor logs:

  1. In VS Code, choose File -> Preferences -> Settings.
  2. In the search box that appears, type razor.
  3. Change the value of the Razor > Language Server: Trace setting to Verbose.
  4. Important: Restart VS Code so that it starts using the new setting.

Capturing the verbose log

Once you've enabled verbose logging, you can capture the log as follows:

  1. Open VS Code's "Output" pane by choosing View -> Output.
  2. From the dropdown, select Razor Log.
  3. Finally, after reproducing your issue again, find the output that has appeared in Razor Log. You can copy and paste this into the relevant section of your issue report.

Clone this wiki locally