Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(514)

Unified Diff: third_party/WebKit/Source/devtools/scripts/npm_test.js

Issue 2611843003: DevTools: fix --debug-devtools flag for npm test (Closed)
Patch Set: rebase Created 3 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « third_party/WebKit/Source/devtools/readme.md ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/devtools/scripts/npm_test.js
diff --git a/third_party/WebKit/Source/devtools/scripts/npm_test.js b/third_party/WebKit/Source/devtools/scripts/npm_test.js
index 45223993015a138ec47ab70d22a8e418fc5f5bfd..b493f0c7ad34e7b6a853d1e0dabf3d4f0a368c85 100644
--- a/third_party/WebKit/Source/devtools/scripts/npm_test.js
+++ b/third_party/WebKit/Source/devtools/scripts/npm_test.js
@@ -233,6 +233,8 @@ function runTests(buildDirectoryPath, useDebugDevtools)
]);
if (useDebugDevtools) {
testArgs.push("--additional-driver-flag=--debug-devtools");
+ } else {
+ console.log("TIP: You can debug a test using: npm run debug-test inspector/test-name.html")
}
if (IS_DEBUG_ENABLED) {
testArgs.push("--additional-driver-flag=--remote-debugging-port=9222");
« no previous file with comments | « third_party/WebKit/Source/devtools/readme.md ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698