As a Developer, you cannot attach the debugger to your application in Production, but you *can* use logging in a way which means you can diagnose problems very easily in both development AND Production. You also get to make friends with Operations people - win! In this tutorial, we'll show you how to get up and running with ELK (Elastic Search, LogStash, Kibana) with Vagrant on your developer machine for awesome logging-fu. Warning: may contain DevOps.
Learn the Fundamentals of XCUITest Framework_ A Beginner's Guide.pdf
How to ditch the debugger and use logging instead - devwinter 2015
1. How to ditch the debugger
and use logging instead
Matthew Skelton & Rob Thatcher, Skelton Thatcher Consulting
/dev/winter 2015,
Saturday 24th January, Cambridge, UK
#devwinter
81. How to ditch the debugger
Use Vagrant + ELK on development VM
Use a set of event type IDs (enums)
Log distinct states of execution
Both technical and domain events
Consistent event naming helps with search
Compare previous and current executions
New logging-fu: make friends with Ops!
82. Links
Tune logging levels in Production without recompiling code:
http://bit.ly/TuneLoggingLevels
VELK (Vagrant + ELK) demo VM:
http://bit.ly/velk-demo
GOOS book (section on logging: p.233-5):
http://www.growing-object-oriented-software.com/