I'm trying to see what the object contains
With console.log(obj)
the console cuts off from the lines and I can't see the entire structure.
Then I tried writing it to a file
fs.writeFile('test', JSON.stringify(obj));
But I get some error about circular references.
Is there any other way to view the object lol? The object is a "connection" from the nodejs websocket module. The docs are very poor and I can't seem to find the property that holds the IP address :(