How do you debug panel's html?
Well, it seems there is no really a way to do it in the panel. So the best way is to use a tab instead of a panel. In it theres no problem to easily inspect HTML.
Some minor shifts and quirks of panel can be dealt with later, by 'try and see' method.