AI Character twitches/jerks when walking

How do I turn on AI debug? Because typing “show debugAI” into the console doesn’t seem to do anything.

Basically I have two tasks: “FindRandomLocation” and “MoveTo”