The PHP debugger embedded into IDE allows you to debug PHP scripts on the application backend (provisioning scripts).
The debugging process looks as follows.
Ensure the package is deployed on a deployment target and on the endpoint host, that is the Deploy end-point on selected deployment target option was selected. Also, ensure the debug configuration is running.
Application resources can be provisioned or not depending on the provisioning operation you are debugging. For example, if the provisioning logic fails to install even an application instance, then there are no application resources yet and you have to debug the corresponding script responsible for it.
In IDE, open the respective PHP script and set debug breakboints there. To set a breakpoint on a line, double click on the sidebar opposite this line.
Sync the package update with the deployment target.
Run the operation you are going to debug. For example, open the control panel on the deployment target and start provisioning or unprovisioning of a resource.
The provisioning PHP script must stop on the breakpoint as in this example:
This allows you to continue with typical debug steps.