7. Stream logs into Visual Studio Code
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.
Stream logs from VS Code
In the Azure App Service explorer, right-click the app node and choose Start Streaming Logs.

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

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.