Replies: 1 comment
-
|
DAP isn't an alternative to XDebug. It's just a protocol, for example this project offers a VS code proxy for xdebug: https://github.com/xdebug/vscode-php-debug Any step debugger will require a PHP extension to be able to add breakpoints. It would be possible for Phactor to offer a DAP proxy to xdebug, similar to the above plugin for VS code, but that doesn't remove the need for XDebug or a similar PHP extension. Purely for self-promotion, I made an XDebug TUI https://github.com/dantleech/debug-tui to decouple the step debugging from the IDE mainly because I don't like any f the step debugging options in Neovim 😆 |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hello there.
While it would be quite a journey, there is a huge need for a great PHP debugger, over that DAB protocol.
Under the hood, the protocol is fairly similar to the LSP one.
In my opinion so many internals of phpactor could be reused to serve that protocol.
Many editors are compatible already, but we lack something great for PHP.
For example, x-debug, is always at least 1 or 2 php versions late, and setting it up is a pain, and does slow down everything PHP on the machine. It's not great and old tech.
Is this thing, supporting DAB step debugging, would be possible, let's discuss that.
For reference, the following does handle the base DAB connection and first step, it does work.
Beta Was this translation helpful? Give feedback.
All reactions