I tried to set this up with swoole 4.3.5, is there a way to being able to debug the code
when coroutine is disabled? I thought xdebug is only not working in conjunction with coroutines,
but even without, i am somehow unable to get it to work.
I set a break point before server start, that works. After that i hit continue and i fire a request at swoole, somehow it seems that the request hangs endlessly, after a while i get a 504 (gateway timeout).
When i kill my debug instance and start it again, the request goes through straight, without breaking.
Let me know what i am doing wrong, thx in advance :heart:
hi~ you can try this https://github.com/mabu233/sdebug
Oh i think you are basing your branch on xdebug 2.6 if i am not mistaken, which does not yet support PHP 7.3.
I opened a PR where i merged xdebug branch 2.7, but i get some errors, since i am not really C guy, maybe you can help out with this @mabu233 ? Thanks in advance for the help :+1:
@mabu233 Thank you so much, the repo you provided on branch sdebug_2_7 works perfectly for me with PHP 7.3 (alpine cli image).
One last question, is the plan to reincorporate this in official xdebug or will sdebug stay seperate?
Most helpful comment
@mabu233 Thank you so much, the repo you provided on branch sdebug_2_7 works perfectly for me with PHP 7.3 (alpine cli image).
One last question, is the plan to reincorporate this in official xdebug or will sdebug stay seperate?
https://github.com/swoole/swoole-src/issues/1681