You can debug client script in various ways. 可以通过多种方式调试客户端脚本。
The following sections describe several ways that you can debug the client-side script in your application. 以下章节描述了调试应用程序中客户端脚本的几种方法。
Develop and debug a Jython script 开发和调试Jython脚本
This can be a devil to debug because the authorization script may work one day and fail the next, and nothing in the script itself has changed. 这可能会影响调试工作,因为授权脚本可能在某一天正常工作,而在第二天失败,但脚本本身却没有发生任何变化。
Consider adding a debug mode or function within your script & say, with the set – x command. 考虑在脚本中增加调试模式或功能&比如使用set–x命令。