Skip to content

Commit b47948f

Browse files
authored
Merge pull request #7493 from umbraco/cms/miniprofiler-authentication
Updated explanation of how to display the MiniProfiler
2 parents 89ea75c + 6ebea99 commit b47948f

File tree

3 files changed

+12
-9
lines changed
  • 15/umbraco-cms/fundamentals/code/debugging
  • 16/umbraco-cms/fundamentals/code/debugging
  • 17/umbraco-cms/fundamentals/code/debugging

3 files changed

+12
-9
lines changed

15/umbraco-cms/fundamentals/code/debugging/README.md

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -52,9 +52,10 @@ Umbraco includes the Mini Profiler project in its core (see [https://miniprofile
5252

5353
### Displaying the MiniProfiler
5454

55-
To display the profiler ensure that the configuration `Umbraco:CMS:Hosting:Debug` is set to `true` in the appSettings.json file. Thereafter you can add `?umbDebug=true` to the query string of any request.
56-
57-
Also, ensure your template calls `@Html.RenderProfiler()` as one of the last things.
55+
To display the profiler on the front end of your site:
56+
- Set `Umbraco:CMS:Hosting:Debug` to `true` in `appsettings.json`.
57+
- Sign in to the backoffice as a user who has access to the **Settings** section.
58+
- Add `?umbDebug=true` to the request query string.
5859

5960
<figure><img src="../../../../../10/umbraco-cms/fundamentals/code/debugging/images/v8-miniprofiler-view.png" alt=""><figcaption></figcaption></figure>
6061

16/umbraco-cms/fundamentals/code/debugging/README.md

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -52,9 +52,10 @@ Umbraco includes the Mini Profiler project in its core (see [https://miniprofile
5252

5353
### Displaying the MiniProfiler
5454

55-
To display the profiler ensure that the configuration `Umbraco:CMS:Hosting:Debug` is set to `true` in the appSettings.json file. Thereafter you can add `?umbDebug=true` to the query string of any request.
56-
57-
Also, ensure your template calls `@Html.RenderProfiler()` as one of the last things.
55+
To display the profiler on the front end of your site:
56+
- Set `Umbraco:CMS:Hosting:Debug` to `true` in `appsettings.json`.
57+
- Sign in to the backoffice as a user who has access to the **Settings** section.
58+
- Add `?umbDebug=true` to the request query string.
5859

5960
<figure><img src="../../../../../10/umbraco-cms/fundamentals/code/debugging/images/v8-miniprofiler-view.png" alt=""><figcaption></figcaption></figure>
6061

17/umbraco-cms/fundamentals/code/debugging/README.md

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -52,9 +52,10 @@ Umbraco includes the Mini Profiler project in its core (see [https://miniprofile
5252

5353
### Displaying the MiniProfiler
5454

55-
To display the profiler ensure that the configuration `Umbraco:CMS:Hosting:Debug` is set to `true` in the appSettings.json file. Thereafter you can add `?umbDebug=true` to the query string of any request.
56-
57-
Also, ensure your template calls `@Html.RenderProfiler()` as one of the last things.
55+
To display the profiler on the front end of your site:
56+
- Set `Umbraco:CMS:Hosting:Debug` to `true` in `appsettings.json`.
57+
- Sign in to the backoffice as a user who has access to the **Settings** section.
58+
- Add `?umbDebug=true` to the request query string.
5859

5960
<figure><img src="../../../../../10/umbraco-cms/fundamentals/code/debugging/images/v8-miniprofiler-view.png" alt=""><figcaption></figcaption></figure>
6061

0 commit comments

Comments
 (0)