Friday 3 February 2017

WebJob learnings

You can attach a debugger to a Web Job.

The Attach Debugger option appears greyed out in the Visual Studio Cloud Explorer window. The best solution is to attach the debugger directly in Visual Studio.


You need to set the qualifier to the Web Job address (note that this is the URL with .scm in the hostname and not the underlying Web App URL).
The username and password can be found by downloading the Publish Profile for the Web App in the portal.

The process is displayed in the Available Processes window. The first time I uploaded a Web Job manually to a Web App created in the portal, it didn't appear. When I built and deployed the Web App and the Web Job from Visual Studio, this worked better.

No comments:

Post a Comment