Skip to content

Commit

Permalink
Switched from XDEBUG_SESSION to XDEBUG_TRIGGER for sail debug (#675)
Browse files Browse the repository at this point in the history
Co-authored-by: Greg Mayes <[email protected]>
  • Loading branch information
GregMayes and Greg Mayes authored Mar 4, 2024
1 parent 3b115d3 commit 4d4931b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bin/sail
Original file line number Diff line number Diff line change
Expand Up @@ -270,7 +270,7 @@ elif [ "$1" == "debug" ]; then
shift 1

if [ "$EXEC" == "yes" ]; then
ARGS+=(exec -u sail -e XDEBUG_SESSION=1)
ARGS+=(exec -u sail -e XDEBUG_TRIGGER=1)
[ ! -t 0 ] && ARGS+=(-T)
ARGS+=("$APP_SERVICE" php artisan "$@")
else
Expand Down

0 comments on commit 4d4931b

Please sign in to comment.