[3.x] Add "--xdebug" CLI option to enabled Xdebug
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.
Codecov Report
Attention: Patch coverage is 5.26316% with 18 lines in your changes missing coverage. Please review.
Project coverage is 91.48%. Comparing base (
5444160) to head (afa75e0).
| Files | Patch % | Lines |
|---|---|---|
| src/main/php/PHPMD/TextUI/XdebugOptionHandler.php | 0.00% | 18 Missing :warning: |
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
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
This could easily be a feature of composer/xdebug-handler itself, if they would want to.
Did you propose the change upstream?
Did you propose the change upstream?
Not yet