Home  >  Article  >  Development Tools  >  How to check error codes in sublime

How to check error codes in sublime

下次还敢
下次还敢Original
2024-04-03 09:06:161037browse

How to view error codes in Sublime Text: Use the console to open the command panel, enter console and select Show Console. To use the log file, find the log file in the user data directory and open it. Using the source code, place your cursor over the problematic line and an error code may appear in the status bar.

How to check error codes in sublime

How to check the error code in Sublime Text

How to check the error code in Sublime Text:

1. Use the console

  • and press Ctrl ~ (Windows/Linux) or Cmd ~ (Mac) Open the console.
  • The error code will be displayed in the console window.

2. Using log files

  • Sublime Text will create log files in the user data directory.
  • On Windows, the log file is located at %APPDATA%\Sublime Text 3\Local\sublime_text.log.
  • On Mac, the log file is located at ~/Library/Application Support/Sublime Text 3/Local/sublime_text.log.
  • On Linux, the log file is located at ~/.config/sublime-text-3/Local/sublime_text.log.
  • Open the log file and look for the error code.

3. Use the command panel

  • Press Ctrl Shift P (Windows/Linux) or Cmd Shift P (Mac) Open the command panel.
  • Enter console and select Show Console.
  • The error code will be displayed in the console window.

4. Check the source code

  • Sometimes error codes will be displayed in the source code.
  • In Sublime Text, place the cursor over the problematic line and an error code may appear in the status bar.

The above is the detailed content of How to check error codes in sublime. For more information, please follow other related articles on the PHP Chinese website!

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn