From 6d84c393ee1743a95e7aae5fa4d50e81125ab12c Mon Sep 17 00:00:00 2001 From: midzer Date: Tue, 28 Aug 2018 01:47:24 +0200 Subject: [PATCH 1/2] replace deprecated --inspect --debug-brk flat for getting started tip --- readme.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/readme.md b/readme.md index ead4069a2e56..d4367492f511 100644 --- a/readme.md +++ b/readme.md @@ -232,7 +232,7 @@ yarn build-all node lighthouse-cli http://example.com ``` -> **Getting started tip**: `node --inspect --debug-brk lighthouse-cli http://example.com` to open up Chrome DevTools and step +> **Getting started tip**: `node --inspect-brk lighthouse-cli http://example.com` to open up Chrome DevTools and step through the entire app. See [Debugging Node.js with Chrome DevTools](https://medium.com/@paul_irish/debugging-node-js-nightlies-with-chrome-devtools-7c4a1b95ae27#.59rma3ukm) for more info. From a5e8145399b6233657803b8da636c62da3d9a7ad Mon Sep 17 00:00:00 2001 From: midzer Date: Tue, 28 Aug 2018 01:52:14 +0200 Subject: [PATCH 2/2] give hint about how to connect to Chrome --- readme.md | 1 + 1 file changed, 1 insertion(+) diff --git a/readme.md b/readme.md index d4367492f511..2c3b1c66e8b9 100644 --- a/readme.md +++ b/readme.md @@ -230,6 +230,7 @@ yarn build-all ```sh node lighthouse-cli http://example.com +# append --chrome-flags="--no-sandbox --headless --disable-gpu" if you run into problems connecting to Chrome ``` > **Getting started tip**: `node --inspect-brk lighthouse-cli http://example.com` to open up Chrome DevTools and step