Using Dephpugger in Symfony Framework

Add in root directory the file .dephpugger.yml with the content bellow.

  path: ./web/
  port: 8000
  file: app.php

Run the commands bellow in different terminal windows (You must run in the root path).

$ dephpugger server
$ dephpugger debug

You don't need use more php bin/console server:run to start the server. If you run this command, you won't get the debugger in breakpoints.

Open http://localhost:8000 and get work!