dape icon indicating copy to clipboard operation
dape copied to clipboard

xdebug no stopped debug connection

Open jgarte opened this issue 1 month ago • 2 comments

Hi,

I get the following error when trying to use phpactor with dape:

managing ‘(php-mode phps-mode php-ts-mode)’ buffers in project ‘php-fizz’.
dape--live-connection: No stopped debug connection [2 times]
[eglot] Edit successful!
(No changes need to be saved)
i is undefined [2 times]
dape--live-connection: No stopped debug connection [2 times]

I have the following in my php.config after Module Settings:

;;;; Debugging Settings
zend_extension=xdebug
xdebug.mode = debug
xdebug.start_with_request = yes

WDYT?

jgarte avatar Oct 29 '25 21:10 jgarte

Hey and thank you for your bug report.

Could you share (setq dape-debug t) and the contents of *dape-connection events*.

Am I understanding the issue correct that you are unable to start a debugging session when phpactor (which is a lsp?) is running under eglot but it works without? I am confused.

svaante avatar Nov 03 '25 18:11 svaante

I meant xdebug not phpactor.

That was a typo 😊

I'll get back to you soon on the rest of the details

jgarte avatar Nov 05 '25 14:11 jgarte