Debugging writing from the primary app