static-php-cli/bin/spc-debug

5 lines
253 B
Plaintext
Raw Normal View History

2025-11-30 15:35:04 +08:00
#!/usr/bin/env bash
# This script runs the 'spc' command with Xdebug enabled for debugging purposes.
php -d xdebug.mode=debug -d xdebug.client_host=127.0.0.1 -d xdebug.client_port=9003 -d xdebug.start_with_request=yes "$(dirname "$0")/../bin/spc" "$@"