![]() ![]() In order to enable remote debugging when your app is running in the cloud, you might need a make a slight modification to your Node app, depending on how you start your app. If you haven’t deployed your app you can get started here or using the Azure CLI here. This section assumes that you already have your Node.js app deployed to Azure using Azure App Service for Linux. To get started you first have to prepare your Node.js app running in Azure and setup Visual Studio Code. You can read more about how it works, and other A zure App Service announcements here on the Azure blog. Once the connection is established we can take VS Code’s built-in Node.js debugger to attach and debug - just like if you were debugging your Node app locally! ![]() Remote debugging for Azure App Service works by taking advantage of a new Azure mechanism that allows us to forward the remote debugging information from your Node process running in Azure to your local computer in a secure way. Our remote debugging experience brings you the same great debugging experience that you already know from Visual Studio Code when debugging Node.js locally to the Azure Cloud. Today we are changing that, as we are introducing a public preview of remote debugging for Node.js apps deployed on Azure App Service for Linux. Finding and identifying issues with Node.js apps deployed to the cloud can be burdensome process that usually involves local debugging, the sprinkling of console.logson to your codebase, and many re-deployments to get the problem identified and solved. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |