Skip to main content

此版本的 GitHub Enterprise Server 将于以下日期停止服务 2026-03-17. 即使针对重大安全问题,也不会发布补丁。 为了获得更好的性能、更高的安全性和新功能,请升级到最新版本的 GitHub Enterprise。 如需升级帮助,请联系 GitHub Enterprise 支持

Accessing logs

If you need to troubleshoot problems with CodeQL for Visual Studio Code, there are several logs you can access.

本文内容

About logs

Progress and error messages are displayed as notifications in the bottom right corner of the Visual Studio Code workspace. These link to more detailed logs and error messages in the "Output" window.

You can access the following logs:

  • CodeQL Extension

  • CodeQL Language Server

  • CodeQL Query Server

  • CodeQL Tests

注意

The CodeQL Language Server log contains more advanced debug logs for CodeQL language maintainers. You should only need these to provide details in a bug report.

Accessing logs

  1. In Visual Studio Code, open the "Output" window.

  2. Use the dropdown to select the log view you need. For example, "CodeQL Extension Log".

    Screenshot of the "Output" window in VS Code (as highlighted in dark orange). The dropdown is also highlighted, with "CodeQL Extension Log" selected.