diff --git a/.devcontainer/devcontainer.json b/.devcontainer/devcontainer.json index 0311a1f30..767d20b98 100644 --- a/.devcontainer/devcontainer.json +++ b/.devcontainer/devcontainer.json @@ -53,5 +53,6 @@ "NODE_OPTIONS": "--use-openssl-ca" }, "remoteUser": "vscode", + "overrideCommand": false, "postStartCommand": "composer install --working-dir=/var/www/html/" } diff --git a/Dockerfile b/Dockerfile index 378fd3a83..bcea9c17c 100644 --- a/Dockerfile +++ b/Dockerfile @@ -93,11 +93,12 @@ ENTRYPOINT [ "docker-entrypoint.sh" ] FROM hashtopolis-server-base as hashtopolis-server-dev # Setting up development requirements, install xdebug -RUN yes | pecl install xdebug \ +RUN yes | pecl install xdebug && docker-php-ext-enable xdebug \ && echo "zend_extension=$(find /usr/local/lib/php/extensions/ -name xdebug.so)" > /usr/local/etc/php/conf.d/xdebug.ini \ && echo "xdebug.mode = debug" >> /usr/local/etc/php/conf.d/xdebug.ini \ && echo "xdebug.start_with_request = yes" >> /usr/local/etc/php/conf.d/xdebug.ini \ && echo "xdebug.client_port = 9003" >> /usr/local/etc/php/conf.d/xdebug.ini \ + && echo "xdebug.idekey = PHPSTORM" >> /usr/local/etc/php/conf.d/xdebug.ini \ \ # Configuring PHP && touch "/usr/local/etc/php/conf.d/custom.ini" \