![]() ![]() Adding the -inspect flag means my startup command in Azure will become: I am using a boilerplate Express app for which the normal startup command is node. In the Azure portal, under our app’s Application settings, we can specify the startup file. The good thing is development of many Azure things happens in the open! A bit of searching revealed a pull request containing the required magic, and let me to discovering the one thing needed to get the Azure side of things set up: starting our app with the -inspect flag. Unfortunately, that did not work for me… At time of writing (see this post’s publish date), debugging Node.js on App Service on Linux is still in preview and my guess is not all regions have the required magic deployed. ![]() On the Azure side, there is only one thing that has to happen: our Node.js application has to run with node’s -inspect flag.Īnd great news! As described in a post by Kenneth Auchenberg, things should “just work ™”! Other thing we will need, of course, are an active Azure subscription, as well as an App Service on Linux that we can play with. (or az extension update -name webapp if already installed) To get it, open a command prompt, make sure the az command is on the PATH, and run:
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |