phpstorm debug of multiline return statement

Guys, can anybody tell me how can I debug expression like this

 
return yii\helpers\ArrayHelper::merge(
    require(YII_APP_BASE_PATH . '/common/config/main.php'),
    require
(YII_APP_BASE_PATH . '/common/config/main-local.php'),
    require
(YII_APP_BASE_PATH . '/frontend/config/main.php'),
    require
(YII_APP_BASE_PATH . '/frontend/config/main-local.php'),
    require
(dirname(__DIR__) . '/config.php'),
    require
(dirname(__DIR__) . '/unit.php'),
    require
(__DIR__ . '/config.php'),
    
[
    ]
);

without saving the result in extra variable?

I mean I can't put the whole text into Alt+F8 (evaluate expression) is there any other way?
Please look at the screenshot provided



Attachment(s):
Selection_054.png
1 comment
Comment actions Permalink

Unfortunately the only ways to do so is to use extra variable or put the whole construction into "Evaluate expression".

0

Please sign in to leave a comment.