<!-- mobian-agent-page publisher="dailydev" canonical="https://daily.dev/posts/stop-using-console-log--jwda0sjky" -->

---
title: Stop Using console.log()! | daily.dev
description: console.log() forces you to select which information to log before the debugging consciously. What you display in the first place is not sufficient or even...
canonical: https://daily.dev/posts/stop-using-console-log--jwda0sjky
twitter:card: summary_large_image
twitter:site: @dailydotdev
og:type: website
og:site_name: daily.dev
og:title: Stop Using console.log()! | daily.dev
og:description: console.log() forces you to select which information to log before the debugging consciously. What you display in the first place is not sufficient or even...
og:url: https://daily.dev/posts/stop-using-console-log--jwda0sjky
og:image: https://api.daily.dev/og/posts/jwDa0SjKY.png
og:image:alt: Stop Using console.log()!
og:image:width: 1200
og:image:height: 630
og:locale: en
---

> ## Documentation Index
> Fetch the complete documentation index at: https://daily.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# Stop Using console.log()!

**[daily.dev](https://daily.dev/sources/daily)** · [@emmorais](https://daily.dev/emmorais) · 35 upvotes · 17 comments

## Summary

console.log() forces you to select which information to log before the debugging consciously. What you display in the first place is not sufficient or even completely irrelevant sometimes. You usually don’t yet have any idea of what’s going on. As a workaround, you will need to either clone the information or serialize snapshots of it.

## Full article

daily.dev links to this article rather than hosting it. Read it at the original source: <https://daily.dev/posts/stop-using-console-log>

## Community discussion

Top comments from developers on daily.dev.

**@emmorais** · 5 upvotes

> If you have questions about the topics, ask me anything. I recommend this article for all developers (mainly, JavaScript) to improve their debugging process (with the best tips)

**@fkoeppling** · 4 upvotes

> const flame = String.fromCodePoint(0x1F525);
> console.log(`Don't ${flame} me, bro`);

**@skay** · 4 upvotes

> Thanks for sharing this wonderful post. A small suggestion, generally I prefer some code samples that one can follow-through along with the explanation, the reason being it's more practical to encourage folks to go and implement them rather than just read and forget. Having said that, this is a brilliant article on its own accord. Once again, thank you for writing and sharing the same.

**@uweguenther** · 3 upvotes

> The pointer to https://peterlyons.com/js-debug/ was really a good one - as it explains well how to use the debugger for JavaScript Fronted (Browser) and Backend (Node.js) development.

**@mvuljevas** · 2 upvotes

> Still a useful and quick way to debug simple stuff instead of overcomplicate the things :expression-less:

## Similar posts on daily.dev

- [Don’t just attend KubeCon \+ CloudNativeCon, Merge Forward your experience\!](https://daily.dev/posts/don-t-just-attend-kubecon-cloudnativecon-merge-forward-your-experience--l0rpp73x8) · CNCF · 1 upvotes · 0 comments
- [Announcing H2 2026 KCDs](https://daily.dev/posts/announcing-h2-2026-kcds-m96goajm1) · CNCF · 1 upvotes · 0 comments
- [Two months of Open Community Groups](https://daily.dev/posts/two-months-of-open-community-groups-asf52zhbs) · CNCF · 0 upvotes · 0 comments
- [CNCF Unveils Schedule for KubeCon \+ CloudNativeCon Europe 2026](https://daily.dev/posts/cncf-unveils-schedule-for-kubecon-cloudnativecon-europe-2026-ikhcoa5cb) · CNCF · 2 upvotes · 0 comments
- [CNCF Debuts KubeCon \+ CloudNativeCon Japan 2026 Schedule](https://daily.dev/posts/cncf-debuts-kubecon-cloudnativecon-japan-2026-schedule-xp5pyudub) · CNCF · 1 upvotes · 0 comments

---

Tags: [#general-programming](https://daily.dev/tags/general-programming), [#javascript](https://daily.dev/tags/javascript), [#logging](https://daily.dev/tags/logging)

[View this post on daily.dev](https://daily.dev/posts/stop-using-console-log--jwda0sjky)

```json
{"@context":"https://schema.org","@graph":[{"@type":"Organization","@id":"https://daily.dev/#organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180},"sameAs":["https://twitter.com/dailydotdev","https://github.com/dailydotdev","https://www.linkedin.com/company/daily-dev-ltd"]},{"@type":"WebSite","@id":"https://daily.dev/#website","url":"https://daily.dev","name":"daily.dev","publisher":{"@id":"https://daily.dev/#organization"},"potentialAction":{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https://daily.dev/search?q={search_term_string}"},"query-input":"required name=search_term_string"}}]}
{"@context":"https://schema.org","@type":"TechArticle","headline":"Stop Using console.log()!","url":"https://daily.dev/posts/stop-using-console-log--jwda0sjky","mainEntityOfPage":{"@type":"WebPage","@id":"https://daily.dev/posts/stop-using-console-log--jwda0sjky"},"datePublished":"2020-10-16T13:15:10.129Z","dateModified":"2021-10-07T14:17:10.317Z","description":"console.log() forces you to select which information to log before the debugging consciously. What you display in the first place is not sufficient or even...","image":"https://media.daily.dev/image/upload/f_auto,q_auto/v1/posts/de8e3d7fcd32a32b90f9a15b71148555","thumbnailUrl":"https://media.daily.dev/image/upload/f_auto,q_auto/v1/posts/de8e3d7fcd32a32b90f9a15b71148555","isAccessibleForFree":true,"articleSection":"daily.dev","inLanguage":"en","publisher":{"@type":"Organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180}},"author":{"@type":"Person","name":"Esaú Morais","url":"https://daily.dev/emmorais","image":"https://media.daily.dev/image/upload/v1670685286/avatars/avatar_l1ZLq0tez.jpg","description":" dude that 💜 coding","interactionStatistic":{"@type":"InteractionCounter","interactionType":{"@type":"EndorseAction"},"userInteractionCount":2980}},"commentCount":17,"discussionUrl":"https://daily.dev/posts/stop-using-console-log--jwda0sjky","interactionStatistic":[{"@type":"InteractionCounter","interactionType":{"@type":"LikeAction"},"userInteractionCount":35},{"@type":"InteractionCounter","interactionType":{"@type":"CommentAction"},"userInteractionCount":17}],"keywords":"general-programming,javascript,logging"}
{"@context":"https://schema.org","@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https://daily.dev"},{"@type":"ListItem","position":2,"name":"daily.dev","item":"https://daily.dev/sources/daily"},{"@type":"ListItem","position":3,"name":"Stop Using console.log()!"}]}
{"@context":"https://schema.org","@type":"WebPage","@id":"https://daily.dev/posts/stop-using-console-log--jwda0sjky","comment":[{"@type":"Comment","text":"If you have questions about the topics, ask me anything. I recommend this article for all developers (mainly, JavaScript) to improve their debugging process (with the best tips)","datePublished":"2020-10-16T13:50:40.839Z","url":"https://daily.dev/posts/jwDa0SjKY#c-IqSkynQBW","author":{"@type":"Person","name":"Esaú Morais","url":"https://daily.dev/emmorais","image":"https://media.daily.dev/image/upload/v1670685286/avatars/avatar_l1ZLq0tez.jpg"},"interactionStatistic":{"@type":"InteractionCounter","interactionType":{"@type":"LikeAction"},"userInteractionCount":5}},{"@type":"Comment","text":"const flame = String.fromCodePoint(0x1F525);\nconsole.log(Don't ${flame} me, bro);","datePublished":"2020-10-16T14:54:21.356Z","url":"https://daily.dev/posts/jwDa0SjKY#c-JAcB_JTpI","author":{"@type":"Person","name":"Fabian Köppling","url":"https://daily.dev/fkoeppling","image":"https://avatars1.githubusercontent.com/u/17169706?v=4"},"interactionStatistic":{"@type":"InteractionCounter","interactionType":{"@type":"LikeAction"},"userInteractionCount":4}},{"@type":"Comment","text":"Thanks for sharing this wonderful post. A small suggestion, generally I prefer some code samples that one can follow-through along with the explanation, the reason being it’s more practical to encourage folks to go and implement them rather than just read and forget. Having said that, this is a brilliant article on its own accord. Once again, thank you for writing and sharing the same.","datePublished":"2020-10-17T06:34:02.302Z","url":"https://daily.dev/posts/jwDa0SjKY#c-OhhWgBHc2","author":{"@type":"Person","name":"Skay","url":"https://daily.dev/skay","image":"https://avatars0.githubusercontent.com/u/62467382?v=4"},"interactionStatistic":{"@type":"InteractionCounter","interactionType":{"@type":"LikeAction"},"userInteractionCount":4}},{"@type":"Comment","text":"The pointer to https://peterlyons.com/js-debug/ was really a good one - as it explains well how to use the debugger for JavaScript Fronted (Browser) and Backend (Node.js) development.","datePublished":"2020-10-17T14:51:48.251Z","url":"https://daily.dev/posts/jwDa0SjKY#c-0bwfXYDkB","author":{"@type":"Person","name":"Uwe Günther","url":"https://daily.dev/uweguenther","image":"https://avatars3.githubusercontent.com/u/395451?v=4"},"interactionStatistic":{"@type":"InteractionCounter","interactionType":{"@type":"LikeAction"},"userInteractionCount":3}},{"@type":"Comment","text":"Still a useful and quick way to debug simple stuff instead of overcomplicate the things :expression-less:","datePublished":"2020-10-17T02:03:52.717Z","url":"https://daily.dev/posts/jwDa0SjKY#c-QpynqdsLM","author":{"@type":"Person","name":"Mauricio Vuljevas","url":"https://daily.dev/mvuljevas","image":"https://avatars1.githubusercontent.com/u/14046897?v=4"},"interactionStatistic":{"@type":"InteractionCounter","interactionType":{"@type":"LikeAction"},"userInteractionCount":2}}]}
```

