Debugger ♪ console.log

Yağız Aydın
Oct 23, 2020

--

Still, using console.log? Hello, Let me introduce your new console.log. Using debugger is much more easier than log every stored variables. We are using all the time, at least everyday 50, 100 or more console.logZ. Just try to use at critical points. debugger ♪

Also, You can easily find scope, variables or lifecycle. For best usage, It’s easier to adding breakpoint everywhere.

for (let i= 1; i < 10; i++) {
if (i === 5) {
debugger;
}
}

New note Debugger() ♪

Sign up to discover human stories that deepen your understanding of the world.

Free

Distraction-free reading. No ads.

Organize your knowledge with lists and highlights.

Tell your story. Find your audience.

Membership

Read member-only stories

Support writers you read most

Earn money for your writing

Listen to audio narrations

Read offline with the Medium app

--

--

Yağız Aydın
Yağız Aydın

No responses yet

Write a response