You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Today was trying to debug something in rector, looking at documentation I see to allow xdebug by adding --xdebug but because code is executed in parallel only main process is debugged.
Expected Behaviour
IMO if --xdebug is passed then rector should not be executed in parallel or need notify about it
The text was updated successfully, but these errors were encountered:
I agree with @oleg-andreyev. PHPStan behave the same behaves when debugging is used, it disables parallel.
The reason is that parallel adds more extra complexity, that nobody wants to deal with. And usually people debug when they already struggle :)
I'd be for applying same logic as PHPStan - if debug/xdebug is enabled, disable parallel and make debugging easier.
Bug Report
Today was trying to debug something in rector, looking at documentation I see to allow xdebug by adding
--xdebug
but because code is executed in parallel only main process is debugged.Expected Behaviour
IMO if --xdebug is passed then rector should not be executed in parallel or need notify about it
The text was updated successfully, but these errors were encountered: