▲ 856 ▼ My debugging experience today: Quantum Debugging (fedia.io) submitted 2 years ago by BlueKey@fedia.io to c/programmerhumor@lemmy.ml 66 comments fedilink hide all child comments
[–] TheSlad@sh.itjust.works 48 points 2 years ago (2 children) Just run your prod env in debug mode! Problem solved. permalink fedilink source hideshow 4 child comments replies: [–] lupec@lemm.ee 28 points 2 years ago (2 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 permalink fedilink source parent hideshow 4 child comments replies: [–] Barbarian@sh.itjust.works 12 points 2 years ago (1 child) 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. permalink fedilink source parent hideshow 2 child comments replies: [–] slacktoid@lemmy.ml 2 points 2 years ago Hang tight help is on the way. permalink fedilink source parent [–] InFerNo@lemmy.ml 2 points 2 years ago (1 child) Now I'm curious how this detection would work. permalink fedilink source parent hideshow 2 child comments replies: [–] SteveTech@programming.dev 5 points 2 years 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. permalink fedilink source parent [–] MultipleAnimals@sopuli.xyz 25 points 2 years ago* (2 children) 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. permalink fedilink source parent hideshow 4 child comments replies: [–] AlecSadler@sh.itjust.works 14 points 2 years ago I just died a little inside. Thank you. permalink fedilink source parent [–] Swedneck@discuss.tchncs.de 11 points 2 years ago i have absolutely seen multiple projects on github that specifically tell you to do "npm run" as part of deploying it. permalink fedilink source parent
[–] lupec@lemm.ee 28 points 2 years ago (2 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 permalink fedilink source parent hideshow 4 child comments replies: [–] Barbarian@sh.itjust.works 12 points 2 years ago (1 child) 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. permalink fedilink source parent hideshow 2 child comments replies: [–] slacktoid@lemmy.ml 2 points 2 years ago Hang tight help is on the way. permalink fedilink source parent [–] InFerNo@lemmy.ml 2 points 2 years ago (1 child) Now I'm curious how this detection would work. permalink fedilink source parent hideshow 2 child comments replies: [–] SteveTech@programming.dev 5 points 2 years 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. permalink fedilink source parent
[–] Barbarian@sh.itjust.works 12 points 2 years ago (1 child) 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. permalink fedilink source parent hideshow 2 child comments replies: [–] slacktoid@lemmy.ml 2 points 2 years ago Hang tight help is on the way. permalink fedilink source parent
[–] slacktoid@lemmy.ml 2 points 2 years ago Hang tight help is on the way. permalink fedilink source parent
[–] InFerNo@lemmy.ml 2 points 2 years ago (1 child) Now I'm curious how this detection would work. permalink fedilink source parent hideshow 2 child comments replies: [–] SteveTech@programming.dev 5 points 2 years 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. permalink fedilink source parent
[–] SteveTech@programming.dev 5 points 2 years 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. permalink fedilink source parent
[–] MultipleAnimals@sopuli.xyz 25 points 2 years ago* (2 children) 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. permalink fedilink source parent hideshow 4 child comments replies: [–] AlecSadler@sh.itjust.works 14 points 2 years ago I just died a little inside. Thank you. permalink fedilink source parent [–] Swedneck@discuss.tchncs.de 11 points 2 years ago i have absolutely seen multiple projects on github that specifically tell you to do "npm run" as part of deploying it. permalink fedilink source parent
[–] AlecSadler@sh.itjust.works 14 points 2 years ago I just died a little inside. Thank you. permalink fedilink source parent
[–] Swedneck@discuss.tchncs.de 11 points 2 years ago i have absolutely seen multiple projects on github that specifically tell you to do "npm run" as part of deploying it. permalink fedilink source parent