Skip to content

A platform for community discussion. Free, open, simple.

`--remote-debugging-port` is our best friend in headless mode.

Guo Xiang Tan560bb02f7c69
diff --git a/vendor/assets/javascripts/run-qunit.js b/vendor/assets/javascripts/run-qunit.js
index 78b157590bf..5a55fe04794 100644
--- a/vendor/assets/javascripts/run-qunit.js
+++ b/vendor/assets/javascripts/run-qunit.js
@@ -19,6 +19,8 @@ const CDP = require('chrome-remote-interface');
function launchChrome() {
return chromeLauncher.launch({
+ // Uncomment this to enable `--remote-debugging-port`
+ // port: 9222,
chromeFlags: [
'--disable-gpu',
'--headless',