I am developing a server-side app that cannot run in the browser, and therefore I cannot debug with DevTools.
If I want to debug an object I need to print the object to shell using
JSON.stringify OR require('util') .inspect
These work okay but it's not anywhere near as good as a browser's DevTools.
So, I am wondering, is there a better way to debug objects? Is there some sort of DevTools like shell for Node. I am guessing the answer is "no", but I am asking anyway.
If I want to debug an object I need to print the object to shell using
JSON.stringify OR require('util') .inspect
These work okay but it's not anywhere near as good as a browser's DevTools.
So, I am wondering, is there a better way to debug objects? Is there some sort of DevTools like shell for Node. I am guessing the answer is "no", but I am asking anyway.
Comment