sending debug to two different windows

Using 2 clients in socket.io. Sending html page to the first and
content + image to the last