Chrome browser debug logs - Chrome Enterprise and Education Help (2024)

You can troubleshoot problems with Chrome browser, such as hanging tabs and error messages. Use debug logs to help you. These logs aren't generated automatically. You need to turn on logging first.

Turn on logging

Note: Instructions assume that Chrome browser is installed in the default location.

Windows

  1. Quit any running instance of Chrome.
  2. Right-click your Chrome shortcut.
  3. Select Properties.
  4. At the end of the Target: line, add the command line flags: --enable-logging --v=1
    With that example flag, it should look like: chrome.exe --enable-logging --v=1
  5. Click ApplyChrome browser debug logs - Chrome Enterprise and Education Help (1)OK.
  6. Launch Chrome using your shortcut.

Mac

  1. Quit any running instance of Chrome.
  2. Run the terminal application.
  3. In the terminal, run the command:
    /Applications/Google\ Chrome.app/Contents/MacOS/Google\ Chrome --enable-logging--v=1
  4. Press Enter.

Linux

  1. Quit any running instance of Chrome.
  2. Run a terminal emulator.
  3. In the terminal, run Chrome with the flag:
    --enable-logging--v=1
  4. Press Enter.

Debug logs are stored in the user data directory as chrome_debug.log. The file is overwritten every time Chrome restarts. So, if you have an issue with the browser, check the log before you restart Chrome. You can stop the file from being overwritten by moving it to the desktop.

The location of the directory depends on the operating system. For information, see User Data Directory.

Read the logs

Tools like Sawbuck on Microsoft® Windows® or Console on Apple® Mac® (located at Applications > Utilities > Console) can help you read the logs and find the source of a problem. These tools present the logs in a graphical user interface that you can easily view, filter, and search.

You can also open the file in a text editor and use the information below to identify problems.

What to look for

The first thing to look for in the chrome_debug.log file is the ERROR keyword. However, depending on the issue, this might not be the root cause. For example, if a user reports excessively long start times, you might see repeated lines at the beginning of the debug log or a high number of process IDs (PIDs) or thread IDs (TIDs).

Each line of the log file begins in a time-stamp format with the following elements:

[PROCESS_ID:THREAD_ID:MMDD/TIME:LOGGING_LEVEL:SOURCE_CODE_FILE_NAME(LINE_NUMBER)]

For example: [7352:11760:0809/012714:VERBOSE1:resource_loader.cc(630)]

  • PROCESS_ID: The identifier of the process that's currently running.

  • THREAD_ID: A process within a PID.

  • MMDD: The current month and day. In the example above, it's August 9.

  • TIME: The current time in a 24-hour format of HH:MM:SS, which will help you narrow your search to the time an issue happened.

  • LOGGING_LEVEL: The current level of logging. This is usually VERBOSE1 as set by the command line. You might also see occurrences of ERROR.

  • SOURCE_CODE_FILE_NAME(LINE_NUMBER): The name of the source-code file that triggered the event to be logged.

Was this helpful?

How can we improve it?

Chrome browser debug logs - Chrome Enterprise and Education Help (2024)
Top Articles
Best Programming Languages for Web Development - BairesDev
Your Trust Wallet Rewards: Claim Your Tokens
Time in Baltimore, Maryland, United States now
Alpha Kenny Buddy - Songs, Events and Music Stats | Viberate.com
P2P4U Net Soccer
Produzione mondiale di vino
Truist Drive Through Hours
Autozone Locations Near Me
Bill Devane Obituary
FIX: Spacebar, Enter, or Backspace Not Working
What is the difference between a T-bill and a T note?
Identogo Brunswick Ga
Buy PoE 2 Chaos Orbs - Cheap Orbs For Sale | Epiccarry
Salem Oregon Costco Gas Prices
Hanger Clinic/Billpay
Www Craigslist Milwaukee Wi
Buy Swap Sell Dirt Late Model
Hdmovie2 Sbs
Daytonaskipthegames
Governor Brown Signs Legislation Supporting California Legislative Women's Caucus Priorities
Craigslistodessa
How Taraswrld Leaks Exposed the Dark Side of TikTok Fame
Crossword Help - Find Missing Letters & Solve Clues
Kirsten Hatfield Crime Junkie
Strange World Showtimes Near Savoy 16
13301 South Orange Blossom Trail
Effingham Daily News Police Report
Craftybase Coupon
Craigslist Sf Garage Sales
Craigslist Scottsdale Arizona Cars
Poe T4 Aisling
What are the 7 Types of Communication with Examples
Bursar.okstate.edu
2430 Research Parkway
In Branch Chase Atm Near Me
Ni Hao Kai Lan Rule 34
Exploring The Whimsical World Of JellybeansBrains Only
Arcadia Lesson Plan | Day 4: Crossword Puzzle | GradeSaver
Uvalde Topic
Mid America Irish Dance Voy
Let's co-sleep on it: How I became the mom I swore I'd never be
Suffix With Pent Crossword Clue
How Does The Common App Work? A Guide To The Common App
Executive Lounge - Alle Informationen zu der Lounge | reisetopia Basics
National Weather Service Richmond Va
From Grindr to Scruff: The best dating apps for gay, bi, and queer men in 2024
855-539-4712
Kidcheck Login
Black Adam Showtimes Near Cinemark Texarkana 14
Fishing Hook Memorial Tattoo
Latest Posts
Article information

Author: Greg Kuvalis

Last Updated:

Views: 6443

Rating: 4.4 / 5 (75 voted)

Reviews: 90% of readers found this page helpful

Author information

Name: Greg Kuvalis

Birthday: 1996-12-20

Address: 53157 Trantow Inlet, Townemouth, FL 92564-0267

Phone: +68218650356656

Job: IT Representative

Hobby: Knitting, Amateur radio, Skiing, Running, Mountain biking, Slacklining, Electronics

Introduction: My name is Greg Kuvalis, I am a witty, spotless, beautiful, charming, delightful, thankful, beautiful person who loves writing and wants to share my knowledge and understanding with you.