IWC debugging lite

If you need to debug IWC you can use Firebug Plugin, but you even can enable debug option in IWC itself. I decide to doing this only if needed but I didn't won't to stop IWC, enable it, and start IWC up again, and vise versa for disable it.

My 'hack' is to do like this;

Create a copy of iwc_static/layout/main.html to iwc_static/layout/main-fb.html

Edit the new main-fb.html and enable debugging (change isDebug to true);

isDebug: true,


If you now need to do debugging on IWC you just need to login into IWC. 


Now manually change the URL from main.html to main-fb.html and here we go.

Click on Popup open debug in extra window.



The second trick is to add the "isDebug=true" parameter to the URL. This can be done prior to login and will be carried forward to when main.html is loaded for the first time, e.g.

http://hostname/iwc_static/layout/login.html?someparameters&isDebug=true

NOTE: This only works in Convergence 2 currently.


Happy debugging....

Comments:

Post a Comment:
  • HTML Syntax: NOT allowed
About

Andreas Breuer - TSC Engineer - writes about his life in support.

Search

Archives
« April 2014
SunMonTueWedThuFriSat
  
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
   
       
Today