Skip to content

commit fails when xdebug is on #73

Description

@vermario

Platform: llinux + lando
Issue:

When I enable xdebug using the command lando xdebug debug, the commit checks fail, and a commit cannot be done. If debug is stopped during the checks, the commit might get accepted (then creating possible issues later in the CI phase).

The output looks like this:

GrumPHP is sniffing your code!
Running tasks with priority 0!
==============================
Running task 1/6: php_compatibility... 
Running task 2/6: check_file_permissions... 
Running task 3/6: php_check_syntax... 
Running task 4/6: phpcs... 
Running task 5/6: yaml_lint... 
Running task 6/6: json_lint... 
Running task 1/6: php_compatibility... ✘
Running task 2/6: check_file_permissions... 
Running task 3/6: php_check_syntax... ✘
Running task 4/6: phpcs... ✘
Running task 5/6: yaml_lint... ✘
Running task 6/6: json_lint... ✘
php_compatibility
=================
Starting the process failed
php_check_syntax
================
Starting the process failed
phpcs
=====
Starting the process failed
yaml_lint
=========
Starting the process failed
json_lint
=========
Starting the process failed
To skip commit checks, add -n or --no-verify flag to commit command

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions