Open zencodex opened 9 years ago
This might be hard to achieve. But I think we first need full async vdebug to facilitate this. This would also mean this has to wait until 2.0 is out.
@BlackIkeEagle agreed, this would need a fully async vdebug before we could even start on this.
I was thinking about a similar problem, which is how to manage multi-threaded debugging, something that Xdebug technically supports (never tried it, and not even tried the pthreads module with PHP). Xdebug instructs you to open a new connection for each thread, which is the same problem as the one raised by @zencodex.
I think Vdebug could work pretty nicely with this in theory, as you could just have one tab per debugging session, and manage them independently. However, the unique window names and single connection paradigm that exists at the moment would make this fairly tricky.
I'll look into this with version 2, as that's going to introduce a load of breaking changes anyway.
Thanks for raising @zencodex.
frontend.php :
backend.php :
set a breakpoint in
backend.php
, vdebug won't break (Debugging session has ended).see more details: https://confluence.jetbrains.com/display/PhpStorm/Simultaneous+debugging+sessions+with+PhpStorm#SimultaneousdebuggingsessionswithPhpStorm-1.Ensureadebuggersessionisstartedforchildrequests