debug socket