To hide the debug toolbar for a certain route, edit Config/Filters.php and add a new constructor at the bottom of the file containing the following
public function __construct()
{
if (isset($_SERVER['REQUEST_URI']) && strpos($_SERVER['REQUEST_URI'], 'your_URL_here')) unset($this->globals['after'][0]);
}