Toggling Debug Draw Traces with UKismetSystemLibrary

Is there a way to toggle the DrawDebugTrace through code or command line using UKismetSystemLibrary?

Something like this (but using UKismetSystemLibrary):

 if (bDrawDebugViewTrace) {
         DrawDebugLine(GetWorld(), StartTrace, EndTrace, FColor(255, 0, 0), false, 3, 0, 1);
        }