debug main page