Added debugging() method