Skip to content

Latest commit

 

History

History
25 lines (16 loc) · 1.19 KB

tutorial-vscode-docker-node-06.md

File metadata and controls

25 lines (16 loc) · 1.19 KB
title description ms.topic ms.date
Stream logs from a containerized Node.js app from Visual Studio Code
Tutorial part 5, stream logs into Visual Studio Code
conceptual
09/20/2019

Stream logs into Visual Studio Code

Previous step: Make changes and redeploy

In this step, you learn how to view or "tail" any output that the running website generates through calls to console.log. This output appears in the Output window in Visual Studio Code.

  1. In the Azure App Service explorer, right-click the app node and choose Start Streaming Logs.

    View Streaming Logs

  2. When prompted, choose to enable logging and restart the application.

    Prompt to enable logging and restart

  3. Once the app is restarted, the Output panel in Visual Studio Code opens with a connection to the log stream, starting with the message Starting Live Log Stream.

[!div class="nextstepaction"] I see the logs I ran into an issue