To use a debug screen in your view, simply open the view in the browser. If you have an error in your view script code, you will see it right away – the icon in the main menu will show.
Now press SHIFT + D. You will be presented with the views’ debug screen:
As you can see in the section “View scripts info,” all functions are listed in the view script along with the status. If you have errors in the code, you can see the error status along with the description of the error:
In addition, you can watch the live status of system variables in your view scripts in the section System variables: