Skip to content

Debugging Azure Functions Host and Java Worker

Pragna Gopa edited this page Mar 22, 2019 · 1 revision

Launch and debug azure-functions-java-worker from azure-functions-host

IntelliJ

  • 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

Eclipse

  • To enable Eclipse to attach to azure-functions-java-worker.jar, set Environment variable
set languageWorkers:java:arguments=-Xdebug -Xrunjdwp:transport=dt_socket,address=8000,server=y,suspend=y

F5 WebJobs.Script.WebHost project and then attach to remote process in IntelliJ or Eclipse