Skip to content

Commit

Permalink
feat: Xdebug
Browse files Browse the repository at this point in the history
  • Loading branch information
leocavalcante committed Dec 23, 2023
1 parent c72eae1 commit 967eb00
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 4 deletions.
10 changes: 7 additions & 3 deletions rootfs/etc/php/php.ini
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
[swoole]
swoole.use_shortname = Off
zend_extension = xdebug

[xdebug]
;zend_extension = xdebug
xdebug.mode = develop,debug
xdebug.log = /tmp/xdebug.log
xdebug.start_with_request = Yes

[swoole]
swoole.use_shortname = Off
2 changes: 1 addition & 1 deletion src/docker.sh
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,6 @@ run() {
-v /var/run/docker.sock:/var/run/docker.sock \
-v ~/.gitconfig:/root/.gitconfig \
-v "$(pwd)":/opt -w /opt \
--entrypoint sh \
--net host --entrypoint sh \
${args[@]} $1 "$PHPCTL_IMAGE" -c "${*:2}"
}

0 comments on commit 967eb00

Please sign in to comment.