PHP 7.3 with XDebug with Magento 2.4 extensions

To pull the PHP 7.3 image with XDebug with Magento 2.4 extensions you can run the following command:

docker pull ghcr.io/scandipwa/create-magento-app:php-7.3-magento-2.4-debug

This image is based on PHP 7.3 with XDebug image.

You can set this image in the configuration file to be used in your project.

cma.js
/** @type {import('@scandipwa/magento-scripts').CMAConfiguration} */
module.exports = {
    // ... other configurations
    configuration: {
        php: {
            debugImage: 'ghcr.io/scandipwa/create-magento-app:php-7.3-magento-2.4-debug'
        }
    }
};

You also need to set baseImage property to PHP 7.3 with Magento 2.4 extensions if you will use this PHP version in your project!

Last updated