How to show API Debug logs on Backend Debug?

api/main-local.php;


$config['bootstrap'][] = 'debug';

    $config['modules']['debug']['class'] = 'yii\debug\Module';

    $config['modules']['debug']['dataPath'] = "@backend/runtime/debug";

it was working already :)