You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -207,9 +207,9 @@ Alternatively, follow the <a href="https://docs.qoder.com/user-guide/chat/model-
207
207
208
208
<details>
209
209
<summary>Visual Studio</summary>
210
-
210
+
211
211
**Click the button to install:**
212
-
212
+
213
213
[<imgsrc="https://img.shields.io/badge/Visual_Studio-Install-C16FDE?logo=visualstudio&logoColor=white"alt="Install in Visual Studio">](https://vs-open.link/mcp-install?%7B%22name%22%3A%22chrome-devtools%22%2C%22command%22%3A%22npx%22%2C%22args%22%3A%5B%22chrome-devtools-mcp%40latest%22%5D%7D)
214
214
</details>
215
215
@@ -230,7 +230,7 @@ Check the performance of https://developers.chrome.com
230
230
231
231
Your MCP client should open the browser and record a performance trace.
232
232
233
-
> [!NOTE]
233
+
> [!NOTE]
234
234
> The MCP server will start the browser automatically once the MCP client uses a tool that requires a running browser instance. Connecting to the Chrome DevTools MCP server on its own will not automatically start the browser.
235
235
236
236
## Tools
@@ -386,7 +386,7 @@ Add the `--browser-url` option to your MCP client configuration. The value of th
386
386
387
387
**Step 2: Start the Chrome browser**
388
388
389
-
> [!WARNING]
389
+
> [!WARNING]
390
390
> Enabling the remote debugging port opens up a debugging port on the running browser instance. Any application on your machine can connect to this port and control the browser. Make sure that you are not browsing any sensitive websites while the debugging port is open.
391
391
392
392
Start the Chrome browser with the remote debugging port enabled. Make sure to close any running Chrome instances before starting a new one with the debugging port enabled. The port number you choose must be the same as the one you specified in the `--browser-url` option in your MCP client configuration.
@@ -423,6 +423,8 @@ Your MCP client should connect to the running Chrome instance and receive a perf
423
423
424
424
For more details on remote debugging, see the [Chrome DevTools documentation](https://developer.chrome.com/docs/devtools/remote-debugging/).
425
425
426
+
If you hit VM-to-host port forwarding issues, see the “Remote debugging between virtual machine (VM) and host fails” section in [`docs/troubleshooting.md`](./docs/troubleshooting.md#remote-debugging-between-virtual-machine-vm-and-host-fails).
Copy file name to clipboardExpand all lines: docs/troubleshooting.md
+11Lines changed: 11 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -27,3 +27,14 @@ npm cache clean --force
27
27
This indicates that the browser could not be started. Make sure that no Chrome
28
28
instances are running or close them. Make sure you have the latest stable Chrome
29
29
installed and that [your system is able to run Chrome](https://support.google.com/chrome/a/answer/7100626?hl=en).
30
+
31
+
### Remote debugging between virtual machine (VM) and host fails
32
+
33
+
When connecting DevTools inside a VM to Chrome running on the host, any domain is rejected by Chrome because of host header validation. Tunneling the port over SSH bypasses this restriction. In the VM, run:
0 commit comments