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
Copy file name to clipboardExpand all lines: articles/azure-portal/capture-browser-trace.md
+52-4Lines changed: 52 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,7 +1,7 @@
1
1
---
2
2
title: Capture a browser trace for troubleshooting
3
3
description: Capture network information from a browser trace to help troubleshoot issues with the Azure portal.
4
-
ms.date: 09/01/2022
4
+
ms.date: 02/24/2023
5
5
ms.topic: how-to
6
6
---
7
7
@@ -12,11 +12,59 @@ If you're troubleshooting an issue with the Azure portal, and you need to contac
12
12
> [!IMPORTANT]
13
13
> Microsoft support uses these traces for troubleshooting purposes only. Please be mindful who you share your traces with, as they may contain sensitive information about your environment.
14
14
15
-
You can capture this information any [supported browser](azure-portal-supported-browsers-devices.md): Google Chrome, Microsoft Edge, Safari (on Mac), or Firefox. Steps for each browser are shown below.
15
+
You can capture this information any [supported browser](azure-portal-supported-browsers-devices.md): Microsoft Edge, Google Chrome, Safari (on Mac), or Firefox. Steps for each browser are shown below.
16
16
17
-
## Google Chrome and Microsoft Edge
17
+
## Microsoft Edge
18
18
19
-
Google Chrome and Microsoft Edge are both based on the [Chromium open source project](https://www.chromium.org/Home). The developer tools experience is very similar in the two browsers. The screenshots included here show the Google Chrome experience, but you'll see the same options in Microsoft Edge. For more information, see [Chrome DevTools](https://developers.google.com/web/tools/chrome-devtools) and [Microsoft Edge DevTools](/microsoft-edge/devtools-guide-chromium).
19
+
The following steps show how to use the developer tools in Microsoft Edge. For more information, see [Microsoft Edge DevTools](/microsoft-edge/devtools-guide-chromium).
20
+
21
+
1. Sign in to the [Azure portal](https://portal.azure.com). It's important to sign in _before_ you start the trace so that the trace doesn't contain sensitive information related to your account.
22
+
23
+
1. Start recording the steps you take in the portal, using [Steps Recorder](https://support.microsoft.com/windows/record-steps-to-reproduce-a-problem-46582a9b-620f-2e36-00c9-04e25d784e47).
24
+
25
+
1. In the portal, navigate to the step prior to where the issue occurs.
26
+
27
+
1. Press F12 to launch the developer tools. You can also launch the tools from the toolbar menu under **More tools** > **Developer tools**.
28
+
29
+
1. By default, the browser keeps trace information only for the page that's currently loaded. Set the following options so the browser keeps all trace information, even if your repro steps require going to more than one page:
30
+
31
+
1. Select the **Network** tab, then select **Preserve log**.
32
+
33
+

34
+
35
+
1. Select the **Console** tab, select **Console settings**, then select **Preserve Log**.
36
+
37
+

38
+
39
+
1. Select the **Network** tab, then select **Stop recording network log** and **Clear**.
40
+
41
+

42
+
43
+
1. Select **Record network log**, then reproduce the issue in the portal.
44
+
45
+

46
+
47
+
You will see session output similar to the following image.
48
+
49
+

50
+
51
+
1. After you have reproduced the unexpected portal behavior, select **Stop recording network log**, then select **Export HAR** and save the file.
52
+
53
+

54
+
55
+
1. Stop the Steps Recorder and save the recording.
56
+
57
+
1. Back in the browser developer tools pane, select the **Console** tab. Right-click one of the messages, then select **Save as...**, and save the console output to a text file.
58
+
59
+

60
+
61
+
1. Package the browser trace HAR file, console output, and screen recording files in a compressed format such as .zip.
62
+
63
+
1. Share the compressed file with Microsoft support by [using the **File upload** option in your support request](supportability/how-to-manage-azure-support-request.md#upload-files).
64
+
65
+
## Google Chrome
66
+
67
+
The following steps show how to use the developer tools in Microsoft Edge. For more information, see [Chrome DevTools](https://developers.google.com/web/tools/chrome-devtools).
20
68
21
69
1. Sign in to the [Azure portal](https://portal.azure.com). It's important to sign in _before_ you start the trace so that the trace doesn't contain sensitive information related to your account.
0 commit comments