Skip to content

Commit 2656d5d

Browse files
Next round of updates for 7861
1 parent 912d3ce commit 2656d5d

8 files changed

Lines changed: 4 additions & 4 deletions

File tree

support/azure/app-service/app-service-web-nodejs-best-practices-and-troubleshoot-guide.md renamed to support/azure/app-service/app-service-web-nodejs-best-practices-troubleshoot-guide.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -165,7 +165,7 @@ To go to the Debug Console site for your app, select **Development Tools** > **A
165165

166166
Go into your site/wwwroot directory. You see a command prompt as shown in the following example:
167167

168-
![Screenshot that shows your site/wwwroot directory and command prompt.](./media/app-service-web-nodejs-best-practices-and-troubleshoot-guide/scm_install_v8.png)
168+
![Screenshot that shows your site/wwwroot directory and command prompt.](./media/app-service-web-nodejs-best-practices-and-troubleshoot-guide/scm-install-v8.png)
169169

170170
Run the command `npm install v8-profiler`.
171171

@@ -198,11 +198,11 @@ http.createServer(function (req, res) {
198198

199199
The preceding code profiles the WriteConsoleLog function and then writes the profile output to the ‘profile.cpuprofile’ file under your site wwwroot. Send a request to your application. You see a ‘profile.cpuprofile’ file created under your site wwwroot.
200200

201-
![Screenshot that shows the profile.cpuprofile file.](./media/app-service-web-nodejs-best-practices-and-troubleshoot-guide/scm_profile.cpuprofile.png)
201+
![Screenshot that shows the profile.cpuprofile file.](./media/app-service-web-nodejs-best-practices-and-troubleshoot-guide/scm-profile.cpuprofile.png)
202202

203203
Download this file and open it with Chrome F12 Tools. Press F12 on Chrome, then choose the **Profiles** tab. Choose the **Load** button. Select your profile.cpuprofile file that you downloaded. Click on the profile you just loaded.
204204

205-
![Screenshot that shows the profile.cpuprofile file that you loaded.](./media/app-service-web-nodejs-best-practices-and-troubleshoot-guide/chrome_tools_view.png)
205+
![Screenshot that shows the profile.cpuprofile file that you loaded.](./media/app-service-web-nodejs-best-practices-and-troubleshoot-guide/chrome-tools-view.png)
206206

207207
You can see that 95% of the time was consumed by the WriteConsoleLog function. The output also shows you the exact line numbers and source files that caused the issue.
208208

support/azure/app-service/media/app-service-web-nodejs-best-practices-and-troubleshoot-guide/chrome_tools_view.png renamed to support/azure/app-service/media/app-service-web-nodejs-best-practices-and-troubleshoot-guide/chrome-tools-view.png

File renamed without changes.

support/azure/app-service/media/app-service-web-nodejs-best-practices-and-troubleshoot-guide/scm_install_v8.png renamed to support/azure/app-service/media/app-service-web-nodejs-best-practices-and-troubleshoot-guide/scm-install-v8.png

File renamed without changes.

support/azure/app-service/media/app-service-web-nodejs-best-practices-and-troubleshoot-guide/scm_profile.cpuprofile.png renamed to support/azure/app-service/media/app-service-web-nodejs-best-practices-and-troubleshoot-guide/scm-profile.cpuprofile.png

File renamed without changes.

support/azure/app-service/toc.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
- name: Troubleshoot Azure App Service
1212
href: ./welcome-app-service.yml
1313
- name: Node.js Best Practices and Troubleshooting Guide
14-
href: app-service-web-nodejs-best-practices-and-troubleshoot-guide.md
14+
href: app-service-web-nodejs-best-practices-troubleshoot-guide.md
1515
- name: Capture memory dumps in Azure App Service
1616
href: ./capture-memory-dumps-app-service.md
1717
- name: Create or delete web apps FAQs

support/azure/app-service/troubleshoot-instance-related-issues-on-Azure-app-service copy 3.md renamed to support/azure/app-service/troubleshoot-instance-rela.md

File renamed without changes.

support/azure/app-service/troubleshoot-instance-related-issues-on-Azure-app-service copy 4.md renamed to support/azure/app-service/troubleshoot-instance-related-.md

File renamed without changes.

support/azure/app-service/troubleshoot-instance-related-issues-on-Azure-app-service copy.md renamed to support/azure/app-service/troubleshoot-instance-related-issues-on-Azure.md

File renamed without changes.

0 commit comments

Comments
 (0)