Add debugLog snippet