Skip to content

Commit c18333e

Browse files
authored
1094 setting up phpstorm for development (#1110)
* Add: devcontainer support for JetBrains IDEs, including debugging support for PHPStorm using xdebug session * Mod: Not required settings removed --------- Co-authored-by: gluafamichl <>
1 parent 319c619 commit c18333e

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

.devcontainer/devcontainer.json

+1
Original file line numberDiff line numberDiff line change
@@ -53,5 +53,6 @@
5353
"NODE_OPTIONS": "--use-openssl-ca"
5454
},
5555
"remoteUser": "vscode",
56+
"overrideCommand": false,
5657
"postStartCommand": "composer install --working-dir=/var/www/html/"
5758
}

Dockerfile

+2-1
Original file line numberDiff line numberDiff line change
@@ -93,11 +93,12 @@ ENTRYPOINT [ "docker-entrypoint.sh" ]
9393
FROM hashtopolis-server-base as hashtopolis-server-dev
9494

9595
# Setting up development requirements, install xdebug
96-
RUN yes | pecl install xdebug \
96+
RUN yes | pecl install xdebug && docker-php-ext-enable xdebug \
9797
&& echo "zend_extension=$(find /usr/local/lib/php/extensions/ -name xdebug.so)" > /usr/local/etc/php/conf.d/xdebug.ini \
9898
&& echo "xdebug.mode = debug" >> /usr/local/etc/php/conf.d/xdebug.ini \
9999
&& echo "xdebug.start_with_request = yes" >> /usr/local/etc/php/conf.d/xdebug.ini \
100100
&& echo "xdebug.client_port = 9003" >> /usr/local/etc/php/conf.d/xdebug.ini \
101+
&& echo "xdebug.idekey = PHPSTORM" >> /usr/local/etc/php/conf.d/xdebug.ini \
101102
\
102103
# Configuring PHP
103104
&& touch "/usr/local/etc/php/conf.d/custom.ini" \

0 commit comments

Comments
 (0)