When troubleshooting issues that involve the WebGUI of the Palo Alto Networks device or Panorma, it can be very useful to gather debug of the scripting language used by the web ui. In this case it will be PHP.
Examples of where gathering this can be useful are:
Running a report from the WebGUI and getting unexpected results or error
Switching tabs in Panorama or a Palo Alto Networks device and getting an unexpected error
Switching context in Panorama and getting unexpected error or unexpected behavior
Get this data by following these steps:
Log in to the WebGUI of the device or Panorama.
Open up another tab and access the same URL as in Step 1, but add /debug at the end. Note: If FQDN is used in Step 1 then use the same FQDN in Step 2.
This will bring up a similar page that looks like the following:
Clear any logs that are already there by hitting the Clear debug button.
Click on the Debug check box.
Go back to the original page from the first step and then replicate the issue
Go to the debub.php page and click on refresh. The following output will be seen:
Gather the output by copying and pasting it to a text file. Make sure to scroll all the way to the bottome of the output when selecting the output to copy.