you are viewing a single comment's thread
view the rest of the comments
[–] 48 points 2 years ago (2 children)

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

  • source
  • hideshow 4 child comments
  • [–] 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

  • source
  • parent
  • hideshow 4 child comments
  • [–] 2 points 2 years ago (1 child)

    Now I'm curious how this detection would work.

  • source
  • parent
  • hideshow 2 child comments
  • [–] 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.

  • source
  • parent
  • [–] 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.

  • source
  • parent
  • hideshow 4 child comments