barracuda
barracuda

Reputation: 1058

Inspect Console Log in NodeJS Express

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:

enter image description here

Below is an example of a console.log() I am trying to inspect from Express:

enter image description here

Upvotes: 0

Views: 552

Answers (1)

Guillaume Legrain
Guillaume Legrain

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

Related Questions