Add debugging information to CAP