• @MooseBoys@lemmy.world
    link
    fedilink
    142 years ago

    Debuggers are for when you hit a problem with your code. Logs are for when someone else hits a problem with your code.

    • @xmunk@sh.itjust.works
      link
      fedilink
      42 years ago

      Nah, debug("Reached line 12"); is always acceptable. Using a formal debugger is a matter of personal preference - but everyone needs to be familiar with it at at least a surface level for whenever a coredump comes in.