I have this error in my function's app Error configuring services in an external startup class.
I started a remote debugging session successfully using this guide, and is working. The thing is everytime I re-start the app in the portal, the connection gets lost, so I am unable to reach a desired point in a Configuration method.
Is there any way to debug a startup method?
Yes, you can debug a startup method. by using the Snapshot Debugger
feature in Azure Functions.
Attaching the Snapshot Debugger.
Keep the debugger point where you need to debug. Add condition based on your requirement as shown below.
Once the debug is done you will be able to view the snapshot.
For more information, refer to Snapshot-debugger-function-app.