- 
          
- 
                Notifications
    You must be signed in to change notification settings 
- Fork 345
[3.x] Add "--xdebug" CLI option to enabled Xdebug #1158
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: 3.x
Are you sure you want to change the base?
Conversation
| Codecov ReportAttention: Patch coverage is  
 
 Additional details and impacted files@@             Coverage Diff              @@
##                3.x    #1158      +/-   ##
============================================
- Coverage     91.96%   91.48%   -0.49%     
- Complexity     1290     1296       +6     
============================================
  Files           107      108       +1     
  Lines          3398     3417      +19     
============================================
+ Hits           3125     3126       +1     
- Misses          273      291      +18     ☔ View full report in Codecov by Sentry. | 
| 
 Did you propose the change upstream? | 
| 
 Not yet | 
Co-authored-by: Anders Jenbo <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
just don't forget to remove it if they accept it upstream :D
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
All good, we just need a unit test to cover src/main/php/PHPMD/TextUI/XdebugOptionHandler.php
Type: Feature
Issue: Resolves None
Breaking change: No
Inspired by https://dev.to/serendipityhq/how-to-debug-any-symfony-command-simply-passing-x-214o
This could easily be a feature of composer/xdebug-handler itself, if they would want to.