How to Enable jsDebug
jsDebug can be enabled in one of the following ways:
Add the jcaDebug parameter to the url of a Windchill page
This will:
1. Turn on JCA Debugging (see Using jcaDebug).
2. Split and decompress the JavaScript files, using the jsDebug feature, as documented below.
If you put jcaDebug at the root of the URL, it will turn on debugging for the entire shell, including the navigator, header, etc., and the JavaScript files will be split immediately.
… /Windchill/app/?jcaDebug=true …
If you put jcaDebug at the end of the URL (after the # token), it will turn on debugging only for the content area of the page, and the JavaScript files will only be split if you manually refresh the page (using Ctrl-R or F5 in your browser)
… /Windchill/app/#ptc1/home/overview?jcaDebug=true
Add the jsDebug parameter to the url of a Windchill page
This sets a user session variable.
Any value of jsDebug other than "false" will turn on jsDebug.
Explicitly setting jsDebug to "false" turns off the feature.Clearing your browser cookies or restarting the browser will also turn it off.
If you put jsDebug at the root of the URL, the page will refresh in your browser automatically, and split the files immediately.
If you put jsDebug at the end of the URL, after the # token, you will need to refresh the browser page manually to get the js files to split.
Turn on the jsDebug feature using log4j
Add the following to the log4jMethodServer.properties file:
log4j.logger.com.ptc.jca.js=DEBUG
From the Tool Page
You can enable jsDebug from Customization > Tools > jsDebug.
這是否有幫助?