Skip to content

Commit 087ffb5

Browse files
committed
rewrite the linking/steps
1 parent 9b751da commit 087ffb5

1 file changed

Lines changed: 39 additions & 26 deletions

File tree

  • microsoft-edge/devtools-guide-chromium/remote-debugging

microsoft-edge/devtools-guide-chromium/remote-debugging/windows.md

Lines changed: 39 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ ms.author: msedgedevrel
66
ms.topic: conceptual
77
ms.service: microsoft-edge
88
ms.subservice: devtools
9-
ms.date: 04/23/2021
9+
ms.date: 03/03/2025
1010
---
1111
# Remotely debug Windows devices
1212

@@ -26,19 +26,13 @@ This tutorial teaches you the following tasks:
2626

2727
The host or debuggee machine is the Windows 10 or later device that you want to debug. It may be a remote device that is hard for you to physically access or it may not have keyboard and mouse peripherals, making it difficult to interact with the Microsoft Edge DevTools on that device.
2828

29-
To set up the host (debuggee) machine:
30-
31-
1. Install and configure [Microsoft Edge](https://www.microsoft.com/edge)
32-
33-
1. Install the [Remote Tools for Microsoft Edge (Beta)](https://www.microsoft.com/store/apps/9P6CMFV44ZLT) from the [Microsoft Store](https://www.microsoft.com/store/apps/windows)
34-
35-
1. Activate [Developer Mode](/windows/apps/get-started/enable-your-device-for-development) and enable [Device Portal](/windows/uwp/debug-test-perf/device-portal)
29+
To set up the host (debuggee) machine, use the following sub-sections, in order.
3630

3731

3832
<!-- ------------------------------ -->
3933
#### Install and configure Microsoft Edge
4034

41-
1. If you haven't already, on the Windows 10 or later device that you want to debug, install Microsoft Edge from [this page](https://www.microsoft.com/edge).
35+
1. If not already installed, on the Windows 10 or later device that you want to debug, install Microsoft Edge, from [Get to Know Microsoft Edge](https://www.microsoft.com/edge).
4236

4337
1. If you're using a pre-installed version of Microsoft Edge on the host (debuggee) machine, verify that you have Microsoft Edge (Chromium) and not Microsoft Edge (EdgeHTML). A quick way to check is to load `edge://settings/help` in the browser and confirm that the version number is 75 or higher.
4438

@@ -52,33 +46,43 @@ To set up the host (debuggee) machine:
5246
<!-- ------------------------------ -->
5347
#### Install the Remote Tools for Microsoft Edge (Beta)
5448

55-
Install the [Remote Tools for Microsoft Edge (Beta)](https://www.microsoft.com/store/apps/9P6CMFV44ZLT) from the [Microsoft Store](https://www.microsoft.com/store/apps/windows).
49+
1. Install the [Remote Tools for Microsoft Edge](https://apps.microsoft.com/detail/9p6cmfv44zlt) from the [Microsoft Store](https://apps.microsoft.com).
50+
51+
The **Download** or **Get** button for that page might be disabled if you are on Windows 10 or later version 1809 or earlier. To set up the host (debuggee) machine, it must be running Windows 10 version 1903 or later. Update the host (debuggee) machine, to acquire the Remote Tools for Microsoft Edge.
5652

57-
The **Get** button for the [Remote Tools for Microsoft Edge (Beta)](https://www.microsoft.com/store/apps/9P6CMFV44ZLT) may be disabled if you are on Windows 10 or later version 1809 or earlier. To set up the host (debuggee) machine, it must be running Windows 10 version 1903 or later. Update the host (debuggee) machine to acquire the [Remote Tools for Microsoft Edge (Beta)](https://www.microsoft.com/store/apps/9P6CMFV44ZLT).
53+
![The Remote Tools for Microsoft Edge in the Microsoft Store](./windows-images/remote-debugging-windows-media-remote-tools-in-store.png)
5854

59-
![The Remote Tools for Microsoft Edge (Beta) in the Microsoft Store](./windows-images/remote-debugging-windows-media-remote-tools-in-store.png)
55+
1. Launch Remote Tools for Microsoft Edge and, if prompted, accept the permissions dialog in the app.
6056

61-
Launch the [Remote Tools for Microsoft Edge (Beta)](https://www.microsoft.com/store/apps/9P6CMFV44ZLT) and, if prompted, accept the permissions dialog in the app. You can now close the [Remote Tools for Microsoft Edge (Beta)](https://www.microsoft.com/store/apps/9P6CMFV44ZLT) and you don't need to have it open for future remote debugging sessions.
57+
1. Close Remote Tools for Microsoft Edge. You don't need to have it open for future remote debugging sessions.
6258

6359

6460
<!-- ------------------------------ -->
6561
#### Activate Developer Mode and enable Device Portal
6662

67-
If you are on a WiFi network, make sure the network is marked as either **Domain** or **Private**. You can verify the state by opening the **Windows Security** app, selecting **Firewall & network protection** and checking if your network is listed as a **Domain** network or **Private** network.
63+
1. Activate Developer Mode; see [Enable your device for development](/windows/apps/get-started/enable-your-device-for-development).
64+
65+
1. Enable Device Portal; see [Windows Device Portal overview](/windows/uwp/debug-test-perf/device-portal).
66+
67+
1. If you are on a WiFi network, make sure the network is marked as either **Domain** or **Private**. You can verify the state by opening the **Windows Security** app, selecting **Firewall & network protection** and checking if your network is listed as a **Domain** network or **Private** network.
68+
69+
1. If your network is listed as **Public**, go to **Settings** > **Network & Internet** > **Wi-Fi**, click on your network, and toggle the **Network profile** button to **Private**.
6870

69-
If your network is listed as **Public**, go to **Settings** > **Network & Internet** > **Wi-Fi**, click on your network, and toggle the **Network profile** button to **Private**.
71+
1. Open the **Settings** app. In **Find a setting**, enter `Developer settings` and select it. Toggle on **Developer Mode**. You can now turn on the **Device Portal** by setting **Turn on remote diagnostics over local area network connections** to **On**. You can then optionally turn **Authentication** on so that the client (debugger) device must provide the correct credentials to connect to this device.
7072

71-
Now, open the **Settings** app. In **Find a setting**, enter `Developer settings` and select it. Toggle on **Developer Mode**. You can now turn on the **Device Portal** by setting **Turn on remote diagnostics over local area network connections** to **On**. You can then optionally turn **Authentication** on so that the client (debugger) device must provide the correct credentials to connect to this device.
73+
1. If **Turn on remote diagnostics over local area network connections.** was previously turned on, you must turn it off and turn it on again for **Device Portal** to work with the [Remote Tools for Microsoft Edge (Beta)](https://www.microsoft.com/store/apps/9P6CMFV44ZLT).
7274

73-
If **Turn on remote diagnostics over local area network connections.** was previously turned on, you must turn it off and turn it on again for **Device Portal** to work with the [Remote Tools for Microsoft Edge (Beta)](https://www.microsoft.com/store/apps/9P6CMFV44ZLT). If a **For developers** section isn't displayed in **Settings**, **Device Portal** may already be turned on, so try restarting the Windows 10 or later device instead.
75+
If a **For developers** section isn't displayed in **Settings**, **Device Portal** may already be turned on, so try restarting the Windows 10 or later device instead.
7476

75-
![The Settings app with Developer Mode and Device Portal configured](./windows-images/remote-debugging-windows-media-host-settings.png)
77+
![The Settings app with Developer Mode and Device Portal configured](./windows-images/remote-debugging-windows-media-host-settings.png)
7678

77-
Note the machine IP address and connection port that are displayed under **Connect using:**. The IP address in the image below is `192.168.86.78` and the connection port is `50080`:
79+
1. Note the machine IP address and connection port that are displayed under **Connect using:**. The IP address in the image below is `192.168.86.78` and the connection port is `50080`:
7880

79-
![Note the IP address and connection port in the Settings](./windows-images/remote-debugging-windows-media-host-settings-ip-address.png)
81+
![Note the IP address and connection port in the Settings](./windows-images/remote-debugging-windows-media-host-settings-ip-address.png)
8082

81-
You enter the information on the client (debugger) device in the [next section](#step-2-set-up-the-client-debugger-machine). Open tabs in Microsoft Edge and [Progressive Web Apps (PWAs)](../progressive-web-apps/index.md) on the host (debuggee) machine that you want to debug from the client (debugger) machine.
83+
You enter the information on the client (debugger) device in the next section, "Step 2: Set up the client (debugger machine)".
84+
85+
1. Open tabs in Microsoft Edge and [Progressive Web Apps (PWAs)](../progressive-web-apps/index.md) on the host (debuggee) machine that you want to debug from the client (debugger) machine.
8286

8387

8488
<!-- ====================================================================== -->
@@ -120,13 +124,22 @@ If you want to connect to the host (debuggee) machine using `https` instead of `
120124

121125
1. If prompted, confirm that you want to install this certificate to the **Trusted Root Certification Authorities** store.
122126

123-
1. Now, when connecting to the host (debuggee) machine from the client (debugger) machine using the `edge://inspect` page, you must use a different `connection port` value. By default, for desktop Windows, the Device Portal uses `50080` as the `connection port` for `http`. For `https`, the Device Portal uses `50043` so follow this pattern: https://`IP address`:`50043` on the `edge://inspect` page. [Read more about the default ports used by Device Portal](/windows/uwp/debug-test-perf/device-portal#setup).
127+
1. Now, when connecting to the host (debuggee) machine from the client (debugger) machine using the `edge://inspect` page, you must use a different `connection port` value. By default, for desktop Windows, the Device Portal uses `50080` as the `connection port` for `http`. For `https`, the Device Portal uses `50043` so follow this pattern: https://`IP address`:`50043` on the `edge://inspect` page.
128+
129+
To see the default ports that are used by Device Portal, see the table in [Setup](/windows/uwp/debug-test-perf/device-portal#setup) in _Windows Device Portal overview_.
124130

125131

126132
<!-- ---------- -->
127133
###### Default ports
128134

129-
The default port for `http` is `50080` and the default port for `https` is `50043`, but this isn't always the case, because Device Portal on desktop claims ports in the ephemeral range (\>50,000) to prevent collisions with existing port claims on the device. To learn more, see the [Port Settings](/windows/uwp/debug-test-perf/device-portal-desktop#registry-based-configuration-for-device-portal) section for Device Portal on Windows desktop.
135+
The default port for `http` is `50080` and the default port for `https` is `50043`, but this isn't always the case, because Device Portal on desktop claims ports in the ephemeral range (\>50,000) to prevent collisions with existing port claims on the device.
136+
137+
To see the default ports that are used by Device Portal, see the table in [Setup](/windows/uwp/debug-test-perf/device-portal#setup) in _Windows Device Portal overview_.
138+
139+
For information about port settings, see [Windows Device Portal for Desktop](/windows/uwp/debug-test-perf/device-portal-desktop).
140+
141+
See also:
142+
* [Registry-based configuration](https://learn.microsoft.com/en-us/windows/uwp/debug-test-perf/device-portal-desktop#registry-based-configuration) in _Windows Device Portal for Desktop_.
130143

131144

132145
<!-- ====================================================================== -->
@@ -182,10 +195,10 @@ Notes about screencasts:
182195
<!-- ====================================================================== -->
183196
## Known issues<!-- todo: update -->
184197

185-
* The **Event Listeners** pane in the **Elements** tool is blank on Windows 10 version 1903. The team plans to fix the **Event Listeners** pane in a servicing update to Windows 10 version 1903.
198+
* The **Event Listeners** pane in the **Elements** tool is blank on Windows 10 version 1903. The team plans to fix the **Event Listeners** pane in a servicing update to Windows 10 version 1903.<!-- todo: done? -->
186199

187-
* The **Cookies** pane in the **Application** panel is blank on Windows 10 version 1903. The team plans to fix the **Cookies** pane in a service update to Windows 10 version 1903.
200+
* The **Cookies** pane in the **Application** panel is blank on Windows 10 version 1903. The team plans to fix the **Cookies** pane in a service update to Windows 10 version 1903.<!-- todo: done? -->
188201

189-
* The **Audits** tool, the **3D View** tool, the **Emulated Devices** section in **Settings**, and the **Accessibility tree** pane in the **Elements** tool aren't currently working as expected.
202+
* The **Audits** tool, the **3D View** tool, the **Emulated Devices** section in **Settings**, and the **Accessibility tree** pane in the **Elements** tool aren't currently<!-- todo: fixed? --> working as expected.
190203

191204
* The file explorer doesn't launch from the DevTools in the **Sources** tool or in the **Security** panel when you remote debug.

0 commit comments

Comments
 (0)