Configure CLI interpreter for PHPStorm on Mac

I have installed PHP from brew and it works just fine in VS Code, but on PHPStorm I am not able to configure the interpreter in order to debug my php code.

When executing:

php -v 

on terminal, I get:

PHP 8.0.17 (cli) (built: Apr 5 2022 22:43:04) ( NTS ) Copyright (c)
The PHP Group Zend Engine v4.0.17, Copyright (c) Zend Technologies
with Zend OPcache v8.0.17, Copyright (c), by Zend Technologies

which tells me that this installed correctly.