facebook

console not showing correct values

  1. CodeMix & Angular IDE
  2.  > 
  3. Webclipse 1.x Help
Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #520718 Reply

    Dale
    Participant

    How can i get the console to display the full object from a console.log in javascript?
    All i seem get is:
    meetings :(…)

    where i don’t want to have to click to drill into it everytime, i just want to see it.

    Thanks

    #520868 Reply

    support-swapna
    Moderator

    Dale,

    You can try : console.log(JSON.stringify(object));
    or console.log(JSON.stringify(object, null, 4)); for better indentation where the third argument sets the indentation level, so you can adjust that as desired.

    If the above suggestions do not help, then please check with development forums like stackoverflow.com for better suggestions from the developer community as this is a development related query.

    Hope this helps.

    –Swapna
    MyEclipse Support

    #521030 Reply

    Dale
    Participant

    But when i run it using ng serve it prints out fine. So it must be angular 4 run

Viewing 3 posts - 1 through 3 (of 3 total)
Reply To: console not showing correct values

You must be logged in to post in the forum log in