Skip to content

Commit

Permalink
feat(cli): enable symfony debug bundle in dev mode (#1081)
Browse files Browse the repository at this point in the history
  • Loading branch information
Davidmattei authored Nov 27, 2024
1 parent 9f5fcc0 commit 54e0090
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 0 deletions.
1 change: 1 addition & 0 deletions elasticms-cli/config/bundles.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,5 @@
EMS\CommonBundle\EMSCommonBundle::class => ['all' => true],
Doctrine\Bundle\MigrationsBundle\DoctrineMigrationsBundle::class => ['all' => true],
Twig\Extra\TwigExtraBundle\TwigExtraBundle::class => ['all' => true],
Symfony\Bundle\DebugBundle\DebugBundle::class => ['dev' => true, 'test' => true],
];
5 changes: 5 additions & 0 deletions elasticms-cli/config/packages/debug.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
when@dev:
debug:
# Forwards VarDumper Data clones to a centralized server allowing to inspect dumps on CLI or in your browser.
# See the "server:dump" command to start a new server.
dump_destination: "tcp://%env(VAR_DUMPER_SERVER)%"
3 changes: 3 additions & 0 deletions elasticms-cli/symfony.lock
Original file line number Diff line number Diff line change
Expand Up @@ -343,6 +343,9 @@
"symfony/css-selector": {
"version": "v5.4.3"
},
"symfony/debug-bundle": {
"version": "v5.4.45"
},
"symfony/dependency-injection": {
"version": "v5.4.3"
},
Expand Down

0 comments on commit 54e0090

Please sign in to comment.