• 𝘋𝘪𝘳𝘬@lemmy.ml
    link
    fedilink
    arrow-up
    19
    arrow-down
    1
    ·
    4 days ago

    Honestly, before I’m done setting up a debugger and creating breakpoints, etc. I have added 10 consle.log() at assumed failure points and run the code again two times.

    • leisesprecher@feddit.org
      link
      fedilink
      arrow-up
      5
      arrow-down
      1
      ·
      4 days ago

      For local development, it should be super quick. However, I’m currently building a small project where a device (or rather the library using it) can’t really be used with a debugger. So 500 print()s it is.