Reputation: 1058
I am currently debugging a Nodejs Express application and I was wondering if there was a way to inspect the console log object similar to how you would do when developing web applications in Chrome or Firefox.
I.E:
var myObj = [{"hello": "world"}];
console.log(myObj);
Inspect Object:
Below is an example of a console.log() I am trying to inspect from Express:
Upvotes: 0
Views: 552
Reputation: 199
Check out node-inspector to debug your Node.js script in a browser.
Here's a link to a video showing how to use the module.
Upvotes: 1