This .NET tool is for Cloud Solution Architects and Cloud Engineers to debug Azure Functions applications, deployed in large complex (typically corporate) environments, with firewalls, network security groups, App Service Environments and other tool.
The tool is released under the MIT License, see LICENSE file.
You can install this debugger by setting up configuration variable to pre-compiled package on GitHub:
WEBSITE_RUN_FROM_PACKAGE = https://github.com/vjirovsky/azFuncDebugger/releases/download/v0.7/pre-release.zip
Alternatively you can publish this codebase to given FunctionApp via Visual Studio (Code).
Open a URL https://<<hostname>>/RunTests
. All tests will be displayed on this page.
For tool configuration set following Configuration variables:
-
TEST_DNS_RESOLVE_DOMAIN
=<<comma-delimited list of domains>>
- performs resolutions of given domains via all available DNS servers
e.g.TEST_DNS_RESOLVE_DOMAIN
=azure.com,someonpremresource.contoso.internal,vjirovsky.cz
-
TEST_HTTPCLIENT_GET_URL
=<<url to test>>
- performs HTTP request to given URL via same outbound connectivity configuration as the real application will use
e.g.TEST_HTTPCLIENT_GET_URL
=https://vjirovsky.cz
The tool/debugger has built-in simulator for testing access to content storage (in case the application doesn't use package deployment). You can test desired configuration with setting up follow variables:
TEST_CCONNECTIONSTRING
=<<connection string as in WEBSITE_CONTENTAZUREFILECONNECTIONSTRING variable>>
e.g. -TEST_CCONNECTIONSTRING
=DefaultEndpointsProtocol=https;AccountName=xyzmystorageaccount;AccountKey=xxxxxxxxxxxxxxxxxxxxxxxx;EndpointSuffix=core.windows.net
TEST_CSHARE
=<<file share name as in WEBSITE_CONTENTSHARE variable>>
e.g. -TEST_CSHARE
=myfilesharestorage
Please report any issue into GitHub issues.