---
title: "Discussion on \"Code Smarter; Use a Debugger\" | Hashnode"
description: "Discussion on \"Code Smarter; Use a Debugger\". I was helping a friend debug an issue yesterday. He just started learning PHP, and was building an auth login page in HTML/CSS/JS.\nThe bug was strange – there was an if statement in his client side javascript which always resolved to false:\nif (respo..."
url: "https://hashnode.com/posts/code-smarter-use-a-debugger/6241c66a1bfa97c5345ea13d"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [Code Smarter; Use a Debugger](https://webdevwithseb.hashnode.dev/code-smarter-use-a-debugger?utm_source=hashnode&utm_medium=feed)

I was helping a friend debug an issue yesterday. He just started learning PHP, and was building an auth login page in HTML/CSS/JS. The bug was strange – there was an if statement in his client side javascript which always resolved to false: if (respo...

Mar 28, 2022 · 2 min read · webdevwithseb.hashnode.dev  
Read the article

-   [#debugging](https://hashnode.com/tag/debugging)
-   [#beginners-learningtocode-100daysofcode](https://hashnode.com/tag/beginners-learningtocode-100daysofcode)
-   [#beginners](https://hashnode.com/tag/beginners)
-   [#javascript](https://hashnode.com/tag/javascript)
-   [#general-advice](https://hashnode.com/tag/general-advice)

## Written by

[WebDevWithSeb](https://hashnode.com/@sbmsr)

@sbmsr · 127.0.0.1

  
[View profile](https://hashnode.com/@sbmsr)

Hi 👋 I'm Seb. I build things in public, teach everything I know, and create stuff every single day.

## Responses 1

Markdown supported · ⌘↵ to post

[Yahaya Oyinkansola](https://hashnode.com/@Kansoldev)

[Mar 29, 2022](https://hashnode.com/posts/code-smarter-use-a-debugger/6241c66a1bfa97c5345ea13d/comment/624298da1bfa97c5345eb165)

I didn't know Chrome's debugger was this helpful, I have got to learn how to use it

[WebDevWithSeb](https://hashnode.com/@sbmsr)

[Mar 31, 2022](https://hashnode.com/posts/code-smarter-use-a-debugger/6241c66a1bfa97c5345ea13d/comment/624298da1bfa97c5345eb165#reply-6245add693b269f2e37434ae)

Please do - it will save so much time and effort. Thanks for reading 😎
