Sublime Forum

Debug two different project at same time

#1

I am starting to set up Xdebug with sublime-text2. In my case, I have two different applications those are integrated as one. Let’s named A and B.

I have XDebug set up for the project B and I can start to debug. From the A site there is a link to the site B, so I want start debuging the application A and when I click the link to the application B, continue debugging the application B.

Is that possible?

I have configured the xdebug sublime plugin as by project and when I launch the debugger from the A site, the debug session is launched on both sides. I can see the breakpoint at the B site from the debug session at project A. But when I follow a link at site A, the

/?XDEBUG_SESSION_START=devwebsite_ide_key

parameter is lost so the debug session is detached in the browser even if at sublime the debug session is still running.

Any ideas?
I am thinking to use the same ide_key for both projects.

I’ll appreciate your help.

0 Likes