Hi @lane thanks so much for this. I have debugging set up thanks to you.
is workspaceRoot a Vscode variable?
Also, can you shed some light on the last step - visiting that url? I hadn’t realised this was needed after every vagrant up! (to anyone referencing this - if debugging has mysteriously stopped working, be sure to redo that last step!!)
Getting into this conversation a little late, but…
Thanks for your clarifications about setting up the debugging in VS Code! But I felt a bit annoyed with the need of using the ?XDEBUG_SESSION_START=XDEBUG_ECLIPSE-bit.
So I found out that by adding xdebug_remote_autostart: 1 to trellis/group_vars/development/php.yml and then running vagrant reload --provision the debug session starts automagically.
Just a tip (and maybe you, @d-a-v-e, are interested in this).