---
title: "Discussion on \"Remote Debugging and Developer Observability\" | Hashnode"
description: "Discussion on \"Remote Debugging and Developer Observability\". Connect to remote processes to solve bugs using remote debugging and observability. Learn how you can securely scale your debugging to match growth."
url: "https://hashnode.com/posts/remote-debugging-and-developer-observability/629773554b2157ff5a6df224"
---

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

Discussion

# [Remote Debugging and Developer Observability](https://talktotheduck.dev/remote-debugging-and-developer-observability?utm_source=hashnode&utm_medium=feed)

Connect to remote processes to solve bugs using remote debugging and observability. Learn how you can securely scale your debugging to match growth.

Jun 1, 2022 · 9 min read · talktotheduck.dev  
Updated Jun 7, 2022  
Read the article

-   [#java](https://hashnode.com/tag/java)
-   [#debugging](https://hashnode.com/tag/debugging)
-   [#debug](https://hashnode.com/tag/debug)
-   [#remote](https://hashnode.com/tag/remote)
-   [#devops](https://hashnode.com/tag/devops)

## Written by

[Shai Almog](https://hashnode.com/@talktotheduck)

@talktotheduck

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

Yak Barber, duck whisperer, hunter of bugs, feeder of dogs, heap climber, stack explorer and rider of shells

Developer Advocate @ Lightrun , co-founder @ Codename One . Java Rockstar, open source hacker, blogger and author with ~30 years of professional programming experience.

## Responses 1

Markdown supported · ⌘↵ to post

[Markos Korvesis](https://hashnode.com/@MarkosK)

[Jun 7, 2022](https://hashnode.com/posts/remote-debugging-and-developer-observability/629773554b2157ff5a6df224/comment/629f938d7c6350628893767f)

Excellent post, [Shai Almog](https://hashnode.com/@talktotheduck).

Congrats! 👏

It looks like a great tool and I definitely see myself trying it out but I am a bit skeptical as to production debugging for three reasons:

Firstly, I think we allow our app to be vulnerable if we permit such tools to connect to a production server. Secondly, I wonder how safe an alternative a snapshot is when compared to breakpoints. Last but not least, it's unclear to me whether or not performance could be impacted while the tool is attached.

[Shai Almog](https://hashnode.com/@talktotheduck)

[Jun 7, 2022](https://hashnode.com/posts/remote-debugging-and-developer-observability/629773554b2157ff5a6df224/comment/629f938d7c6350628893767f#reply-629f993d35465b62630931e5)

Great questions!

Let's address them one by one.

1.  I discuss security in-depth in [this article](https://talktotheduck.dev/detect-track-verify-security-issues-zero-days#heading-lightrun-security). The gist is that you never expose or connect to production. It works the other way around which is an important distinction. It means any surface area to attack is significantly reduced/removed. I'd also like to add that Lightrun is used on Fortune 50 companies, banks, etc. where security and performance requirements are very extreme.
    
2.  Snapshots work pretty much like a breakpoint would. Only they don't stop. This requires a bit of a mind shift. For obvious reasons you can't use a breakpoint in production since a server might get stuck in the middle of debugging.
    
3.  Performance is always impacted. We measured Lightrun and found that when no actions are used the overhead is on the scale of 0.5% and when actions are added it's around the 7% overhead for a system under heavy load. Lightrun throttles action when they take too much CPU and you can tune the amount of CPU allocated to it. The default is pretty conservative so you shouldn't feel a performance impact regardless of what you do.
    

[Markos Korvesis](https://hashnode.com/@MarkosK)

[Jun 8, 2022](https://hashnode.com/posts/remote-debugging-and-developer-observability/629773554b2157ff5a6df224/comment/629f938d7c6350628893767f#reply-62a039647c63506288938548)

Thank you for the clarifications, [Shai Almog](https://hashnode.com/@talktotheduck), much clearer now!
