Couchbase Interview Question

How do you approach debugging a problem?