---
title: "Comment by Sanskar Lamsal on \"Debugging Feb #2 : Cannot set headers after they are sent to the client\" | Hashnode"
description: "Well sometimes looking at the code helps!👀"
url: "https://hashnode.com/posts/debugging-feb-2-cannot-set-headers-after-they-are-sent-to-the-client/6406bc89b4384b268507d1ad/comment/640952104b4818e3636f7b1f"
---

[Discussion](https://hashnode.com/posts/debugging-feb-2-cannot-set-headers-after-they-are-sent-to-the-client/6406bc89b4384b268507d1ad)

Comment [Debugging Feb #2 : Cannot set headers after they are sent to the client](https://hashnode.com/posts/debugging-feb-2-cannot-set-headers-after-they-are-sent-to-the-client/6406bc89b4384b268507d1ad)

[Sanskar Lamsal](https://hashnode.com/@sanskaar)

[Mar 9, 2023](https://hashnode.com/posts/debugging-feb-2-cannot-set-headers-after-they-are-sent-to-the-client/6406bc89b4384b268507d1ad/comment/640952104b4818e3636f7b1f)

Well sometimes looking at the code helps!👀

[Rajesh Khadka](https://hashnode.com/@rajeshkhadka)

[Mar 9, 2023](https://hashnode.com/posts/debugging-feb-2-cannot-set-headers-after-they-are-sent-to-the-client/6406bc89b4384b268507d1ad/comment/640952104b4818e3636f7b1f#reply-640a22976b5ccef6ff210aba)

yes it do works 😴 sometimes !!
