dont start debug socket until after page load