845
submitted 3 months ago by BlueKey@fedia.io to c/programmerhumor@lemmy.ml
you are viewing a single comment's thread
view the rest of the comments
[-] TheSlad@sh.itjust.works 48 points 3 months ago

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

[-] lupec@lemm.ee 27 points 3 months ago

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~~

[-] Barbarian@sh.itjust.works 12 points 3 months ago

Blink-blink-blink. Blink. Blink. Blink. Blink-blink-blink.

No, I don't have something in my eyes, I swear I'm fine looks nervously at boss.

[-] slacktoid@lemmy.ml 2 points 3 months ago

Hang tight help is on the way.

[-] InFerNo@lemmy.ml 2 points 3 months ago

Now I'm curious how this detection would work.

[-] SteveTech@programming.dev 4 points 3 months 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.

[-] MultipleAnimals@sopuli.xyz 24 points 3 months ago* (last edited 3 months ago)

You can imagine how many node projects there are running in production with npm run. I have encountered js/ts/node devs that don't even know that you should like, build your project, with npm build and then ship and serve the bundle.

[-] AlecSadler@sh.itjust.works 13 points 3 months ago

I just died a little inside. Thank you.

[-] Swedneck@discuss.tchncs.de 11 points 3 months ago

i have absolutely seen multiple projects on github that specifically tell you to do "npm run" as part of deploying it.

this post was submitted on 03 Sep 2024
845 points (100.0% liked)

Programmer Humor

32715 readers
592 users here now

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

Rules:

founded 5 years ago
MODERATORS