You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
let g:vdebug_options = {
\ 'break_on_open' : 0,
\ 'ide_key' : 'VVVDEBUG'
\}
let g:vdebug_options.path_maps = {"/srv/www/": "/home/mte90/Desktop/VVV/www/"}
I see the page on loading and after a while open as show in the screenshot without any way to interact with the information.
It's not clear to me what is missing to get working everything.
If I use other tools the connection and debugging is working.
Sorry for the misunderstoonding.
I mean that break_on_open in wordpress is useless, so is better to disable it but in that way vdebug is not working for me.
Let me know how I can help, I am available to investigate in the code but I have no glue how works xDebug.
This issue is blocking me to use vim as daily tool and improve also my dev workflow.
I'm having this same issue. Setting a break point with vdebug opens the the debugger with no output and then a message right away that says "waiting for a connection: none found so far". And if I try to use the step commands I get, "Step over is only possible when Vdebug is running."
Using xdebug_break() instead works as expected. 👍
Please let me know if I can provide more information that would be helpful.
As I am trying to get a xdebug dev environemnt that works I am doing more tests, with pugdebug I am able to use breakpoints https://github.com/Mte90/pugdebug but with vdebug doesn't work, except when xdebug_break()is used.
So my guess is that vdebug is not sending or reading right some information that instead with that command are right.
Can someone help on debugging and giving some hints? I can try to patch vdebug on my own with more information, because this bug is stopping me to use vim at 100% since few years.
@Mte90 is there a simple way to reproduce this? because I'm only seeing this empty stacktrace situation when xdebug got connected but there was no breakpoint hit.
Yes, I get the point, but I have not yet been able to reproduce it in any way. So I was wondering if you would be able to provide a simple enough example where it happens so that I can pinpoint what goes wrong.
Well I am getting when using https://github.com/Varying-Vagrant-Vagrants/VVV/ with xdebug enabled, so I don't have any tiny environment to replicate...
That was the reasons I tried to investigate, if you can give me some hints in the code I can take a look again
Activity
Mte90 commentedon Jul 2, 2019
any hint for help with the debugging?
BlackIkeEagle commentedon Jul 4, 2019
1st thing you can do to check if something is working is to enable break_on_open
Mte90 commentedon Jul 4, 2019
Removing break_on_open I get it working (I am on another computer):

but with wordpress is useless...
BlackIkeEagle commentedon Jul 5, 2019
I'm not sure what you mean with
If I can guess, you mean nothing happens in wordpress, then that sounds normal, because you are blocking further execution?
Mte90 commentedon Jul 5, 2019
Sorry for the misunderstoonding.
I mean that break_on_open in wordpress is useless, so is better to disable it but in that way vdebug is not working for me.
Mte90 commentedon Jul 8, 2019
I saw the new commits, so I wanted to try the new changes but the result is similar.

Mte90 commentedon Jul 13, 2019
I am not sure that the latest changes to the plugin help with my issue, there are any kind of debugging that I can do to understand what is happening?
BlackIkeEagle commentedon Jul 13, 2019
The changes are unrelated to your issue. I'm going to look into it with time.
Mte90 commentedon Oct 6, 2019
Let me know how I can help, I am available to investigate in the code but I have no glue how works xDebug.
This issue is blocking me to use vim as daily tool and improve also my dev workflow.
determin1st commentedon Oct 6, 2019
With xDebug, you can use
xdebug_break();where you need to break on.Mte90 commentedon Oct 6, 2019
Thanks for the hint, with that xDebug works as intended with vdebug!
If I try to put breakpoints in vim they are not reconized. At least I found a way to use it, thanks a lot!
heylookltsme commentedon Nov 13, 2019
I'm having this same issue. Setting a break point with vdebug opens the the debugger with no output and then a message right away that says "waiting for a connection: none found so far". And if I try to use the step commands I get, "Step over is only possible when Vdebug is running."
Using
xdebug_break()instead works as expected. 👍Please let me know if I can provide more information that would be helpful.
Mte90 commentedon Aug 28, 2020
As I am trying to get a xdebug dev environemnt that works I am doing more tests, with pugdebug I am able to use breakpoints https://github.com/Mte90/pugdebug but with vdebug doesn't work, except when
xdebug_break()is used.So my guess is that vdebug is not sending or reading right some information that instead with that command are right.
Can someone help on debugging and giving some hints? I can try to patch vdebug on my own with more information, because this bug is stopping me to use vim at 100% since few years.
Mte90 commentedon Sep 14, 2020
I am having the same issue with https://github.com/puremourning/vimspector that use https://github.com/felixfbecker/vscode-php-debug
If I mark a breakpoint is not working but with
xdebug_break()everything is fine.Mte90 commentedon Sep 14, 2020
This is what I get in the vdebug log output when that issue happens:
Seems like that after launching the connection is stopped by vdebug itself before to get something from xdebug.
Xdebug log:
BlackIkeEagle commentedon Sep 27, 2020
@Mte90 is there a simple way to reproduce this? because I'm only seeing this empty stacktrace situation when xdebug got connected but there was no breakpoint hit.
Mte90 commentedon Sep 27, 2020
The point is that a breakpoint is configured inside vim but seems that vdebug is ignoring it
BlackIkeEagle commentedon Sep 27, 2020
Yes, I get the point, but I have not yet been able to reproduce it in any way. So I was wondering if you would be able to provide a simple enough example where it happens so that I can pinpoint what goes wrong.
Mte90 commentedon Sep 27, 2020
Well I am getting when using https://github.com/Varying-Vagrant-Vagrants/VVV/ with xdebug enabled, so I don't have any tiny environment to replicate...
That was the reasons I tried to investigate, if you can give me some hints in the code I can take a look again
Mte90 commentedon Dec 15, 2020
I did a bounty of 15$ for this ticket https://www.bountysource.com/issues/76208208-open-the-debug-without-any-stacktrace
I am available for debugging.