DEV Community

Cover image for Make your `console.life` easy !
Drozerah
Drozerah

Posted on

4

Make your `console.life` easy !

Using Better Comments and a VSCcode snippet we can achieve this :

clg

VSCode Snippet:

    "Console.log()": {
        "prefix": "clg",
        "body": [
          "console.log('$0') // !DEBUG"
        ],
        "description": "Console method log()"
    }

What we have now is a [clg + enter] autocomplete with a red colorized debug comment that highlights your debugings :)

  • easy to use and configure
  • no more time consuming looking for lost console.log in your code
  • code readability improvement

Be proud !

Sentry blog image

How to reduce TTFB

In the past few years in the web dev world, we’ve seen a significant push towards rendering our websites on the server. Doing so is better for SEO and performs better on low-powered devices, but one thing we had to sacrifice is TTFB.

In this article, we’ll see how we can identify what makes our TTFB high so we can fix it.

Read more

Top comments (2)

Collapse
 
royalfig profile image
Ryan Feigenbaum

So simple, yet such a great idea!

Collapse
 
drozerah profile image
Drozerah

Indeed ! I Am also a musician, believe it, when the idea comes to my brain it took me like a groovy funky party ! Can you feel it ? ;)

Billboard image

Create up to 10 Postgres Databases on Neon's free plan.

If you're starting a new project, Neon has got your databases covered. No credit cards. No trials. No getting in your way.

Try Neon for Free →

👋 Kindness is contagious

Please leave a ❤️ or a friendly comment on this post if you found it helpful!

Okay