[ xdebug ] Configure xdebug for PhpStorm compatibility#2747
Conversation
xdebug for phpstorm compatibility
|
I will need to rebuild every version of PHP.wasm Node JSPI and ASYNCIFY. |
a39fd0c to
75aa9e5
Compare
I was curious what other exports we might be missing so I've inspected xdebug.so with wasm2wat and got these imports: (I am only keeping the imports coming from Then I got the list of exports from PHP 8.4 JSPI: Then I computed a list of It seems like |
|
It seems we're building XDebug without |
|
I've added those flags and the build seems to have worked, let me try it in phpstorm 🤞 |
|
It worked! I'll rebuild all JSPI extensions |
|
This is fantastic! I should have thought of that. Thank you @adamziel. Do you think this can be considered ready to be merged? |
|
🚢 |
xdebug for phpstorm compatibilityxdebug for PhpStorm compatibility
Motivation for the change, related issues
This pull request aims to add and modify Xdebug related elements in order for Xdebug with PHP.wasm ASYNCIFY to run step debugging in PHPStorm without crashing.
Implementation details
Error [RuntimeError]: unreachableby adding :Error [RuntimeError]: null function or function signature mismatchby removing :- 'xdebug.start_upon_error=yes'That setting was not necessary after all :
build.jsfiles