Skip to content

Commit f576634

Browse files
committed
docs: revert Android debugging updates
1 parent 99dc73f commit f576634

1 file changed

Lines changed: 5 additions & 10 deletions

File tree

docs/debugging-android.md

Lines changed: 5 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -4,30 +4,25 @@ This is an experimental feature as Puppeteer does not officially support Chrome
44

55
The workflow below works for most users. See [Troubleshooting: DevTools is not detecting the Android device for more help](https://developer.chrome.com/docs/devtools/remote-debugging#troubleshooting) for more help.
66

7-
1. Open the Developer Options screen on your Android. See [Configure on-device developer options](https://developer.android.com/studio/debug/dev-options.html).
7+
1. Open the Developer Options screen on your Android. See [Configure on-device developer Options](https://developer.android.com/studio/debug/dev-options.html).
88
2. Select Enable USB Debugging.
99
3. Connect your Android device directly to your development machine using a USB cable.
10-
4. On your development machine, set up port forwarding from your development machine to your Android device:
10+
4. On your development machine setup port forwarding from your development machine to your android device:
1111
```shell
1212
adb forward tcp:9222 localabstract:chrome_devtools_remote
1313
```
14-
5. Find the browser WebSocket endpoint:
15-
```shell
16-
curl http://127.0.0.1:9222/json/version
17-
```
18-
Copy the `webSocketDebuggerUrl` value from the response.
19-
6. Configure your MCP server to connect to Chrome:
14+
5. Configure your MCP server to connect to the Chrome
2015
```json
2116
"chrome-devtools": {
2217
"command": "npx",
2318
"args": [
2419
"chrome-devtools-mcp@latest",
25-
"--wsEndpoint=ws://127.0.0.1:9222/devtools/browser/<id>"
20+
"--wsEndpoint=ws://127.0.0.1:9222/devtools/browser/"
2621
],
2722
"trust": true
2823
}
2924
```
30-
7. Test your setup by running the following prompt in your coding agent:
25+
6. Test your setup by running the following prompt in your coding agent:
3126
```none
3227
Check the performance of developers.chrome.com
3328
```

0 commit comments

Comments
 (0)