Skip to content

Latest commit

 

History

History
36 lines (22 loc) · 549 Bytes

File metadata and controls

36 lines (22 loc) · 549 Bytes

Debugging Python

Anshul Jannumahanti

Print debugging:

print(a) Code1() print(b) code2() # error print(c)

Logging: foundation of production debugging

Tracebacks & Exceptions

Shows sequence of function calls leading to an error

Many common built-in exceptions

Monitoring Systems

Continuously track the health and performance of an app or system

Ex: track computing resources

Monitoring tools:

  • Prometheus
  • Grafana
  • Sentry

Tracing

Tracing following path of a request and response across different services in a system.