-
Notifications
You must be signed in to change notification settings - Fork 55
Home
Pragna Gopa edited this page Sep 11, 2018
·
8 revisions
- Create a test Azure Function in Java
- Clone https://github.com/Azure/azure-functions-host repo and follow instructions to run samples
- Set WebJobs.Script.WebHost as the startup project
- Set Environment variable AZURE_FUNCTIONS_ENVIRONMENT = Development
- To enable IntelliJ to attach to azure-functions-java-worker.jar, set Environment variable languageWorkers:java:arguments = -agentlib:jdwp=transport=dt_socket,server=y,suspend=n,address=5005
- Add debug configuration in IntelliJ https://stackoverflow.com/questions/21114066/attach-intellij-idea-debugger-to-a-running-java-process
- F5 WebJobs.Script.WebHost project
- To debug worker, attach to remote process in IntelliJ