7140 Connection is already a debugger or debuggee

Advantage Error Guide

Problem: When using SQL DEBUG command, a connection cannot be made a debugger or debuggee because it is already a debugger or debuggee.

Solution: Ensure that the connection is not a debugger or debuggee.