• Quacksalber@sh.itjust.works
    link
    fedilink
    arrow-up
    2
    ·
    17 days ago

    Aren’t those almost always race condition bugs? The debugger slows execution, so the bug won’t appear when debugging.

    • BlueKey@fedia.ioOP
      link
      fedilink
      arrow-up
      0
      ·
      17 days ago

      Turned out that the bug ocurred randomly. The first tries I just had the “luck” that it only happened when the breakpoints were on.
      Fixed it by now btw.

      • leisesprecher@feddit.org
        link
        fedilink
        arrow-up
        1
        ·
        17 days ago

        One of our customers does that. It happened multiple times already that one dev fixed an issue in production, and the next regular deployment overwrote everything.

        But fortunately, it’s just critical infrastructure and nothing important.

    • MultipleAnimals@sopuli.xyz
      link
      fedilink
      arrow-up
      1
      ·
      edit-2
      16 days 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.

    • Lupec@lemm.ee
      link
      fedilink
      arrow-up
      1
      ·
      16 days 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
        link
        fedilink
        arrow-up
        1
        ·
        16 days 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.