Use indicator api instead of debugging.

In preparation of some logging, we want to split debug indicators and actual full logging.

Deprecate `setDebugging()`.

@JakeWharton