Info: This plug-in is part of a set of sample plug-ins that is shipped with Assets Server. For more information, see Assets Server sample plug-ins.
Note: The use of internal plug-ins such as sample plug-ins has been deprecated in Assets Server 6.73. These plug-ins should instead be created as an external plug-in.
The debug plug-in is a developer's testing plug-in to make life a little bit easier. It's available in 3 different flavors:
- As a tab
- As a dialog
- As an external browser version
All three share the same functionality, the flavors are there for educational purpose. The main features are exposing the properties and functions of the elvisContext.
Testing elvisContext functions
All available elvisContext functions can be tested, this can be useful when you're developing a plug-in and quickly want to test or validate the result of a function call.
Reviewing & using elvisContext properties
We advise to test and develop plug-ins using a web browser because this makes it possible to properly debug your HTML, CSS and JavaScript. There is one limitation though, by default there is no elvisContext JavaScript variable available in the web browser.
The debug plug-in can help you to overcome this issue, it shows all elvisContext properties displayed for the client's current state, in plain and in indented mode. You can test with the elvisContext in a Web browser by copying & pasting the plain JavaScript code into your HTML/JavaScript file.
Comment
Do you have corrections or additional information about this article? Leave a comment! Do you have a question about what is described in this article? Please contact Support.
0 comments
Please sign in to leave a comment.