Skip to content

AddOnDebugging

thc202 edited this page Jun 12, 2019 · 2 revisions

Add-on Debugging

Roughly, the procedure is:

  • Have both zaproxy and zap-extensions open in the IDE
  • Copy the add-on to the zaproxy project, using the Gradle task copyZapAddOn of the corresponding add-on
  • Refresh the zaproxy project
  • Run ZAP in debug mode
  • Put your breakpoint anywhere in the add-on code
  • Execute your scenario
  • When the breakpoint is reached, you may be prompted to define where the source is located, select zap-extensions project
  • That's all.

You just have to not forget to copy the add-on and refresh the project after changing the add-on.

Clone this wiki locally