Expose timemout and data debugging as flag.
Test for both android and standard code path.