Configuring Emacs as a PHP IDE - LSP Mode - LSP support for Emacs #3777
Replies: 2 comments 5 replies
-
i have successfully installed and configured xdebug. and now i am trying to get debugging to run. in test.php i set a breakpoint as described in the example and do M-x dap-debug and select "PHP Debug" from the list. but then i get an error message in the minibuffer. Messages shows me the following error: Debug session process exited with status: exited abnormally with code 1 and in the buffer PHP Debug stderr I find: node:internal/modules/cjs/loader:959 Error: Cannot find module '/home/sutter/.emacs.d/.extension/vscode/xdebug.php-debug/extension/out/phpDebug.js' i don't understand the error message. i can find the directory .emacs.d/.extension/vscode/xdebug.php-debug but it is empty. did i miss something to install? or what do the error messages want to tell me? |
Beta Was this translation helpful? Give feedback.
-
Use https://github.com/xdebug/vscode-php-debug/releases/download/v1.29.0/php-debug-1.29.0.vsix It has |
Beta Was this translation helpful? Give feedback.
-
Configuring Emacs as a PHP IDE - LSP Mode - LSP support for Emacs
Language Server Protocol Support for Emacs
https://emacs-lsp.github.io/lsp-mode/tutorials/php-guide/
Beta Was this translation helpful? Give feedback.
All reactions