vscode-php-debug: Won't step beyond breakpoint
PHP version: 7.2.6 XDebug version: php_xdebug-2.6.1-7.2-vc15-x86_64.dll Adapter version: 1.12.6
Your launch.json:
{
// Use IntelliSense to learn about possible attributes.
// Hover to view descriptions of existing attributes.
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
"version": "0.2.0",
"configurations": [
{
"name": "Listen for XDebug",
"type": "php",
"request": "launch",
"port": 9000
},
{
"name": "Launch currently open script",
"type": "php",
"request": "launch",
"program": "${file}",
"cwd": "${fileDirname}",
"port": 9000
}
]
}
XDebug php.ini config:
[xdebug]
zend_extension="c:/wamp64/bin/php/php7.2.6/ext/php_xdebug-2.6.1-7.2-vc15-x86_64.dll"
xdebug.remote_enable = 1
xdebug.profiler_enable = off
xdebug.profiler_enable_trigger = Off
xdebug.profiler_output_name = cachegrind.out.%t.%p
xdebug.profiler_output_dir ="c:/wamp64/tmp"
xdebug.show_local_vars=0
XDebug logfile (from setting xdebug.remote_log
in php.ini):
Adapter logfile (from setting "log": true
in launch.json):
Code snippet to reproduce: None
This is a very recent problem. The debugger will stop at the breakpoint but will not continue. Even if I tell it to just continue. Step Over, Step Into and Step Out do nothing. Restart works as does Stop. This has been running like a champ. I haven’t debugged anything for a day or two but no longer than that. I did restart VCS this morning due to a Win 10 update (ugh) so that may have started the problem. Perhaps a recent update?
I also have PHPStorm and tried the exact same situation there and it works as expected. In fact, I was able to find my issue. So, that does act as a work around for right now but I’d rather keep using VSC and your great extension.
Sorry I don’t have more information. I know this can be annoying to find. Perhaps others will see this and be able to add to the discussion.
Thank you!
About this issue
- Original URL
- State: closed
- Created 6 years ago
- Reactions: 1
- Comments: 15 (3 by maintainers)
No. I’ve got a copy of PHPStorm and I just use that.
On Fri, Nov 30, 2018 at 8:55 AM bryandandan notifications@github.com wrote: