Chrome Flags Reference

Chrome command line switches and startup flags for automation, headless mode, and debugging.

--enable-gpu-service-tracing

What does --enable-gpu-service-tracing do?

Turns on calling TRACE for every GL call.

Usage

CLILaunch Chrome with --enable-gpu-service-tracing using CLI

chrome --enable-gpu-service-tracing

PuppeteerLaunch Chrome with --enable-gpu-service-tracing using Puppeteer

const browser = await puppeteer.launch({
  args: ['--enable-gpu-service-tracing']
});

PlaywrightLaunch Chrome with --enable-gpu-service-tracing using Playwright

const browser = await chromium.launch({
  args: ['--enable-gpu-service-tracing']
});

SeleniumLaunch Chrome with --enable-gpu-service-tracing using Selenium

from selenium import webdriver

options = webdriver.ChromeOptions()
options.add_argument('--enable-gpu-service-tracing')

driver = webdriver.Chrome(options=options)

Build Conditions

ENABLE_VULKAN && \