WoodWing Help Center

Action - debug plugins

Elvis 5 bundled plug-in - Debug

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:

  1. As a tab
  2. As a dialog
  3. As an external browser version

Note: In an effort to improve security, the option of viewing debugging info in an external Web browser has been made obsolete in Elvis Server 5.9.

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.

The Elvis context functions page

Reviewing & using elvisContext properties

We advise to test and develop plug-ins using a web browser instead of the desktop client because this allows you to do proper debugging of your HTML, CSS and JavaScript. There is one limitation though, by default there is no elvisContext JavaScript variable available in the web browser, this variable is only available inside the client.

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.

Elvis context data JSON formatted

Was this article helpful?
0 out of 0 found this helpful / Created: / Updated:
Have more questions? Submit a request

0 Comments

Article is closed for comments.