Static build with XDebug for Mac #848
Answered
by
dunglas
andradedaniel
asked this question in
Q&A
-
Hey everyone. Is it possible to create a static build with xdebug enabled in macos? |
Beta Was this translation helpful? Give feedback.
Answered by
dunglas
Jun 5, 2024
Replies: 2 comments
-
Why not just use a regular php build for debugging? Why use a static build? |
Beta Was this translation helpful? Give feedback.
0 replies
-
Xdebug isn't supported by static-php-cli, so it's not possible to use it with a static build: https://static-php.dev/en/guide/extension-notes.html#xdebug You'll need a dynamic build. |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
andradedaniel
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Xdebug isn't supported by static-php-cli, so it's not possible to use it with a static build: https://static-php.dev/en/guide/extension-notes.html#xdebug
You'll need a dynamic build.