Debugging apps console.dir


I am going through the debugging apps tutorial, the part where we change console.log to console.dir. I’m still getting “object object” as my output. What am I doing wrong?

I’m also getting this message:
CONSOLE ERROR file:///app/tns_modules/tns-core-modules/trace/trace.js:165:30: Error: Css styling failed: Error: undefined:1:16: missing ‘{’



Regarding your CSS error, can you check app.css to make sure there are no syntax errors? If you’re using VS Code, those errors should now be flagged automatically.