Add an environment to the PHP service in FrankenPHP, and configure the Phpstorm debug server with the same server name as PHP_IDE_CONFIG value.
php: environment: PHP_IDE_CONFIG: "serverName=whateveryouwant"