Skip to content
Pragna Gopa edited this page Oct 26, 2018 · 8 revisions

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
  • Add debug configuration in IntelliJ

Eclipse

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

  • Add debug configuration in Eclipse

  • F5 WebJobs.Script.WebHost project

  • To debug worker, attach to remote process in IntelliJ