Search icon CANCEL
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Conferences
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
Serverless computing in Azure with .NET

You're reading from   Serverless computing in Azure with .NET Build, test, and automate deployment

Arrow left icon
Product type Paperback
Published in Aug 2017
Publisher Packt
ISBN-13 9781787288393
Length 468 pages
Edition 1st Edition
Languages
Tools
Arrow right icon
Author (1):
Arrow left icon
Sasha Rosenbaum Sasha Rosenbaum
Author Profile Icon Sasha Rosenbaum
Sasha Rosenbaum
Arrow right icon
View More author details
Toc

Table of Contents (16) Chapters Close

Preface 1. Understanding Serverless Architecture FREE CHAPTER 2. Getting Started with the Azure Environment 3. Setting Up the Development Environment 4. Configuring Endpoints, Triggers, Bindings, and Scheduling 5. Integrations and Dependencies 6. Integrating Azure Functions with Cognitive Services API 7. Debugging Your Azure Functions 8. Testing Your Azure Functions 9. Configuring Continuous Delivery 10. Securing Your Application 11. Monitoring Your Application 12. Designing for High Availability, Disaster Recovery, and Scale 13. Designing Cost-Effective Services 14. C# Script-Based Functions 15. Azure Compute On-Demand Options

Remote debugging in the cloud


The remote debugging of a Function App can be helpful if the function experiences an issue only after deployment. To debug the function in Azure, you can attach the debugger to the Function App. This will allow you to step through the deployed function in Visual Studio.

To perform remote debugging, execute the following steps:

  1. First, we need to change two settings in Visual Studio to enable remote debugging. In Visual Studio, navigate to Tools -> Options -> Debugging, and then deselect the Enable Just My Code and Require source files to exactly match the original version options as shown in the following screenshot:
  1. In Visual Studio, navigate to View -> Cloud Explorer.
  2. Navigate to your subscription -> App Services -> TextEvaluation.
  3. Right-click on the service and choose Attach Debugger.
  4. After the debug symbols load, you will be able to set up breakpoints and step through the function. To hit a breakpoint, you will need to trigger the function execution...
lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at £16.99/month. Cancel anytime