There was an error while loading. Please reload this page.
1 parent c72eae1 commit 967eb00Copy full SHA for 967eb00
rootfs/etc/php/php.ini
@@ -1,5 +1,9 @@
1
-[swoole]
2
-swoole.use_shortname = Off
+zend_extension = xdebug
3
4
[xdebug]
5
-;zend_extension = xdebug
+xdebug.mode = develop,debug
+xdebug.log = /tmp/xdebug.log
6
+xdebug.start_with_request = Yes
7
+
8
+[swoole]
9
+swoole.use_shortname = Off
src/docker.sh
@@ -29,6 +29,6 @@ run() {
29
-v /var/run/docker.sock:/var/run/docker.sock \
30
-v ~/.gitconfig:/root/.gitconfig \
31
-v "$(pwd)":/opt -w /opt \
32
- --entrypoint sh \
+ --net host --entrypoint sh \
33
${args[@]} $1 "$PHPCTL_IMAGE" -c "${*:2}"
34
}
0 commit comments