this post was submitted on 03 Sep 2024
848 points (99.4% liked)

Programmer Humor

32179 readers
294 users here now

Post funny things about programming here! (Or just rant about your favourite programming language.)

Rules:

founded 5 years ago
MODERATORS
 
you are viewing a single comment's thread
view the rest of the comments
[–] TheSlad@sh.itjust.works 48 points 1 month ago (8 children)

Just run your prod env in debug mode! Problem solved.

[–] lupec@lemm.ee 28 points 1 month ago (4 children)

Lol my workplace ships Angular in debug mode. Don't worry though, the whole page kills itself if a dubious third-party library detects the console is open. Very secure and not brittle at all! ~~Please send help~~

[–] InFerNo@lemmy.ml 2 points 1 month ago (1 children)

Now I'm curious how this detection would work.

[–] SteveTech@programming.dev 5 points 1 month ago

I've seen some that activate an insane number of breakpoints, so that the page freezes when the dev tools open. Although Firefox let's you disable breaking on breakpoints all together, so it only really stops those that don't know what they're doing.

load more comments (2 replies)
load more comments (5 replies)