I tried using JSON.stringify(object)
, but it doesn\'t go down on the whole structure and hierarchy.
On the other hand console.log(object)
d
right click on console.. click save as.. its this simple.. you'll get an output text file
There is an open-source javascript plugin that does just that - debugout.js
Debugout.js records and save console.logs so your application can access them. Full disclosure, I wrote it. It formats different types appropriately, can handle nested objects and arrays, and can optionally put a timestamp next to each log. It also toggles live-logging in one place.
In case you have an object logged:
Store as a global variable
temp1
copy(temp1)