Chrome Flags Reference

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

--vmodule

What does --vmodule do?

Gives the per-module maximal V-logging levels to override the value given by --v. E.g. "my_module=2,foo*=3" would change the logging level for all code in source files "my_module.*" and "foo*.*" ("-inl" suffixes are also disregarded for this matching). Any pattern containing a forward or backward slash will be tested against the whole pathname and not just the module. E.g., "*/foo/bar/*=2" would change the logging level for all code in source files under a "foo/bar" directory.

Usage

CLILaunch Chrome with --vmodule using CLI

chrome --vmodule

PuppeteerLaunch Chrome with --vmodule using Puppeteer

const browser = await puppeteer.launch({
  args: ['--vmodule']
});

PlaywrightLaunch Chrome with --vmodule using Playwright

const browser = await chromium.launch({
  args: ['--vmodule']
});

SeleniumLaunch Chrome with --vmodule using Selenium

from selenium import webdriver

options = webdriver.ChromeOptions()
options.add_argument('--vmodule')

driver = webdriver.Chrome(options=options)