Skip to content

languages/php: add debugging#1392

Open
snoweuph wants to merge 1 commit intoNotAShelf:mainfrom
snoweuph:feature/php-debugging
Open

languages/php: add debugging#1392
snoweuph wants to merge 1 commit intoNotAShelf:mainfrom
snoweuph:feature/php-debugging

Conversation

@snoweuph
Copy link
Contributor

@snoweuph snoweuph commented Feb 4, 2026

Debugging with PHP :D

The world of PHP Debugging is a bit weird, but basicly everybody uses xdebug (even most of enterprise), the only exception are a few enterprise developers using some special propriotary zend extension.

image

Sanity Checking

  • I have updated the changelog as per my changes
  • I have tested, and self-reviewed my code
  • My changes fit guidelines found in hacking nvf
  • Style and consistency
    • I ran Alejandra to format my code (nix fmt)
    • My code conforms to the editorconfig configuration of the project
    • My changes are consistent with the rest of the codebase
  • If new changes are particularly complex:
    • My code includes comments in particularly complex areas
    • I have added a section in the manual
    • (For breaking changes) I have included a migration guide
  • Package(s) built:
    • .#nix (default package)
    • .#maximal
    • .#docs-html (manual, must build)
    • .#docs-linkcheck (optional, please build if adding links)
  • Tested on platform(s)
    • x86_64-linux
    • aarch64-linux
    • x86_64-darwin
    • aarch64-darwin

Add a 👍 reaction to pull requests you find important.

type = "executable";
command = "${pkgs.nodePackages_latest.nodejs}/bin/node";
args = [
"${pkgs.vscode-extensions.xdebug.php-debug}/share/vscode/extensions/xdebug.php-debug/out/phpDebug.js"
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This and the one from Jetbrains PHPStorm are the only ones that exist 💀.

the jetbrains one is paied.
the vscode one does't support showing logs in the dap. but this is normaly not a problem, due to php devs using dd() and dump() which display basicly a full interactive dump in the browers html its responds to in a request.

github-actions bot pushed a commit that referenced this pull request Feb 4, 2026
@github-actions
Copy link

github-actions bot commented Feb 4, 2026

🚀 Live preview deployed from 92854bd

View it here:

Debug Information

Triggered by: snoweuph

HEAD at: feature/php-debugging

Reruns: 2038

@snoweuph snoweuph force-pushed the feature/php-debugging branch from 58b3556 to b79d723 Compare February 4, 2026 21:11
@snoweuph
Copy link
Contributor Author

snoweuph commented Feb 4, 2026

rebased

@snoweuph
Copy link
Contributor Author

snoweuph commented Feb 5, 2026

@NotAShelf could I get a review on this one? actually have to currently write some php for work, and are using my old config again, because my nvf has no debugging yet :3

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant