tldr/pages/common/var-dump-server.md

18 lines
433 B
Markdown
Raw Permalink Normal View History

2020-10-02 21:28:40 +01:00
# var-dump-server
> Symfony dump server.
> Collects data dumped by the Symfony VarDumper component.
> More information: <https://symfony.com/doc/current/components/var_dumper.html#the-dump-server>.
- Start the server:
`var-dump-server`
- Dump the data in an HTML file:
`var-dump-server --format=html > {{path/to/file.html}}`
- Make the server listen on a specific address and port:
`var-dump-server --host {{127.0.0.1:9912}}`