JavaScript API Debug
QuestAgent's JavaScript library allows you to enable debug log console. You may use this to debug your QuestAgent integration/customization, or just to get inner details about its functioning.
Logging in QuestAgent is based on excellent
log4javascript library. Debug messages will be printed in a popup window, so
make sure to allow this popup if asked by browser.
Enabling Logging (multi-session)
To enable logging, open document
.../qagent8/tools.htm and click
JavaScript Logging On/Off button. If logging is successfully enabled, you should see in the document something like:
QuestAgent JavaScript debug console enabled = true
Popup with the log console should appear the next time you load pages containing QuestAgent.
QuestAgent uses browser cookies to save your preference for logging. This is known to work on both Internet Explorer and Firefox (Windows and Linux). Unfortunately, cookies don't work in Safari browser for files on local file system.
Logging can be disabled following the same instructions.
Enabling Logging (single-session)
Logging can be also enabled for a single session only. All you need to do is to specify
debug=true parameter in URL of a document that loads QuestAgent search interface. For example
(end of URL shown only):
.../sample02-autoconfig-framed-with-form/index.htm?debug=true