MCPcopy Index your code
hub / github.com/ampproject/amphtml / setDebuggingLevel

Function setDebuggingLevel

build-system/tasks/visual-diff/index.js:558–564  ·  view source on GitHub ↗

* Enables debugging if requested via command line.

()

Source from the content-addressed store, hash-verified

556 * Enables debugging if requested via command line.
557 */
558function setDebuggingLevel() {
559 if (argv.debug) {
560 argv['chrome_debug'] = true;
561 argv['webserver_debug'] = true;
562 argv['percy_agent_debug'] = true;
563 }
564}
565
566/**
567 * Creates a Percy build with only a blank page for comparison.

Callers 1

performVisualTestsFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected