forensic-architecture/datasheet-server

Better debugging

breezykermo opened this issue · 1 comments

Debugging is quite impractical at the moment. It basically consists of adding console.logs in each of the classes until the error is palpable.

It would be much nicer to be able to toggle on a 'debug' mode, which either:

  • prints a range of console.log statements so that you know which function has been called
  • handles error location through some other setup.

The main issue is that errors are difficult to locate, and require explicit tracing from the route down through the file hierarchy.

👍 agreed