I tried to debug a PHP application. I also tried the Symfony demo.
The first problem is that the Apache that gets launched by default does not have debugging enabled.
Then, in the debugger I can launch another instance, I can set a breakpoint, and execution stops there. But then the process dies. This is not helpful at all.
On https://www.gitpod.io/docs/languages/php/ the demo shown in the animated gif has only simple variable-setting code that runs once and exists. The demo does not even use the HTML Preview.
However, as we all know, PHP is used for websites where a request comes in and some code produces a response. And that response is shown in the HTML Preview where the server continues running. That is what I want to debug. Not simple variable-setting code.
So, my question is, after seeing PHP debugging advertised on the Gitpod website, is PHP debugging working at all for real applications?
Then, show me an example where this works.