Advanced debugging techniques from Shōgun