Feature: Adding debug logging