# Why is console.log in the variables toolbox group?

**URL:** <https://forum.code.org/t/why-is-console-log-in-the-variables-toolbox-group/35318>\
**Category:** Unit and Lesson Discussion\
**Created:** [October 25, 2021, 4:36pm UTC](https://forum.code.org/t/why-is-console-log-in-the-variables-toolbox-group/35318 "2021-10-25T16:36:32Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![lmorr](https://avatars.discourse-cdn.com/v4/letter/l/f08c70/32.png) [@lmorr](https://forum.code.org/u/lmorr)\
**Post date:** [October 25, 2021, 4:36pm UTC](https://forum.code.org/t/why-is-console-log-in-the-variables-toolbox-group/35318/1 "2021-10-25T16:36:32Z")

</div>

It may seem like a trivia question but my class is wondering why. We understand that console.log is great for displaying the current “thing in memory” that a variable “points” to. It makes sense to put a show me what’s in a variable tool in the variable tool spot…but is it deeper?

---

<div class="post-metadata">

**Author:** ![jdonwells](https://sea2.discourse-cdn.com/flex016/user_avatar/forum.code.org/jdonwells/32/7900_2.png) [@jdonwells](https://forum.code.org/u/jdonwells)\
**Post date:** [October 25, 2021, 5:50pm UTC](https://forum.code.org/t/why-is-console-log-in-the-variables-toolbox-group/35318/2 "2021-10-25T17:50:18Z")

</div>

I can’t think of anything.

---

<div class="post-metadata">

**Author:** ![bhatnagars](https://sea2.discourse-cdn.com/flex016/user_avatar/forum.code.org/bhatnagars/32/4919_2.png) [@bhatnagars](https://forum.code.org/u/bhatnagars)\
**Post date:** [October 25, 2021, 5:52pm UTC](https://forum.code.org/t/why-is-console-log-in-the-variables-toolbox-group/35318/3 "2021-10-25T17:52:59Z")

</div>

The only advantage that the tool offers over console.log is that you can see values inside variables without modifying the code. You can add remove breakpoints and see values at different points as your code runs.
