debug chain