0

Hi I am new to to NODE JS. My Application is using express,grunt, mocha also. I just use grunt command and all the initial setup for running files is set. Now in one of the files for authentication, I need to see the request and the response object. One way I can just use console and keep digging but is there any way that I can print it in browser or in some tool where it will give me all the data in JSON format where I can inspect the req and res objects?

Akshay
  • 123
  • 1
  • 11
  • https://medium.com/@paul_irish/debugging-node-js-nightlies-with-chrome-devtools-7c4a1b95ae27 – zero298 Oct 25 '17 at 16:16
  • I am not getting it. I have a response object. All in JSON format which is in file router.js and in my grunt file all the setup is there to run the files. I just use grunt command to run the application. Now at some point it goes to the desired file and have that req and res object. I want to print that res object in chrome so that I can easily check that whole object. – Akshay Oct 25 '17 at 17:01

0 Answers0