Reputation: 491
Is it possible to debug routes for special controller like :
php app/console router:debug PlayersController
Upvotes: 0
Views: 614
Reputation: 3573
Nope, not like that. But you could just output all routes with their assigned controllers and then grep on the controller you want to debug. E.g.:
php app/console router:debug --show-controllers | grep PlayersController
Or in the PowerShell in case you're stuck on Windows:
php app/console router:debug --show-controllers | Select-String -Pattern "PlayersController"
Upvotes: 1