Skip to content

Commit 939cab5

Browse files
committed
(feat): evitar criar xdebug.ini varias vezes
1 parent 267477b commit 939cab5

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

apache-run.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
#!/bin/bash
22

33
if [[ $XDEBUG_ENABLED == true ]]; then
4+
sudo rm -f /usr/local/etc/php/conf.d/xdebug.ini || true
45
echo "zend_extension=/usr/local/lib/php/extensions/no-debug-non-zts-20151012/xdebug.so" | sudo tee -a /usr/local/etc/php/conf.d/xdebug.ini
56
echo "xdebug.var_display_max_depth=5" | sudo tee -a /usr/local/etc/php/conf.d/xdebug.ini
67
echo "xdebug.idekey=${XDEBUG_IDEKEY}" | sudo tee -a /usr/local/etc/php/conf.d/xdebug.ini

0 commit comments

Comments
 (0)