In Alfresco 5.0.d version I came across an interesting new feature of which, I thought it would be worth sharing with you. Let me show you first the picture of that.
Looks cool right? This is new developers view which you can enable through debug menu which is recently added in Alfresco share to help developers in debugging share widgets. Here we are going to discuss first that debug menu through we can enable above view and then in next post we will discuss on the developers view.
First thing required to use this menu is to change alfresco into debug mode and restart it. There is a following config entry which you need to add in your
<!-- Global config section --> <config replace="true"> <flags> <!-- Developer debugging setting to turn on DEBUG mode for client scripts in the browser --> <client-debug>true</client-debug> <!-- LOGGING can always be toggled at runtime when in DEBUG mode (Ctrl, Ctrl, Shift, Shift). This flag automatically activates logging on page load. --> <client-debug-autologging>false</client-debug-autologging> </flags> </config>
Once you enable this and restart server. Then open Alfresco in Firefox and login as admin.You will be able to see the extra menu in the header called as “Debug Menu“.
You could also see the logger statement in the left side which has widget and function details related to the log. We will be exploring more on various options available through this debug menu in upcoming post,So keep following this one.