debugging online/offline