wordpress-playground
wordpress-playground copied to clipboard
[ php-wasm ] Follow-up on Xdebug
Xdebug
- https://github.com/WordPress/wordpress-playground/pull/2248
- https://github.com/WordPress/wordpress-playground/pull/2326
- https://github.com/WordPress/wordpress-playground/pull/2346
- https://github.com/WordPress/wordpress-playground/pull/2408
- https://github.com/WordPress/wordpress-playground/pull/2411
- https://github.com/WordPress/wordpress-playground/pull/2840
- https://github.com/WordPress/wordpress-playground/pull/3075
- [ ] Feature : Make proper Xdebug unit tests work
- [ ] Suggestion : Add support for
php-wasm-web - https://github.com/WordPress/wordpress-playground/pull/2747
Xdebug IDE Path Mappings
- https://github.com/WordPress/wordpress-playground/pull/2777
- https://github.com/WordPress/wordpress-playground/pull/2840
- https://github.com/WordPress/wordpress-playground/pull/2835
- https://github.com/WordPress/wordpress-playground/pull/2860
- https://github.com/WordPress/wordpress-playground/pull/2869
- https://github.com/WordPress/wordpress-playground/pull/2947
- https://github.com/WordPress/wordpress-playground/pull/3075
- [ ] Cache the initial config and re-apply it when an error occurs
- [ ] Link
--experimental-unsafe-ide-integrationand--experimental-devtoolswith--xdebug - [ ] Add path mappings based on the current website instead of the entire Playground
- [ ] Ignore files and directories when running Xdebug
- [ ] Transform
--experimental-unsafe-ide-integrationinto--ide-integration - [ ] Suggestion - Refactor instructions logging code
- [ ] Suggestion : rewrite only a portion of the config file.
- [ ] Suggestion : keep the config file indentation intact except for our necessary configuration.
Xdebug Bridge
- https://github.com/WordPress/wordpress-playground/pull/2398
- https://github.com/WordPress/wordpress-playground/pull/2402
- https://github.com/WordPress/wordpress-playground/pull/2409
- https://github.com/WordPress/wordpress-playground/pull/2423
- https://github.com/WordPress/wordpress-playground/pull/2442
- https://github.com/WordPress/wordpress-playground/pull/2454
- https://github.com/WordPress/wordpress-playground/pull/2527
- https://github.com/WordPress/wordpress-playground/pull/2566
- https://github.com/WordPress/wordpress-playground/pull/2722
- https://github.com/WordPress/wordpress-playground/pull/3075
- [ ] Feature : Prettify Xdebug var_dump when printed in the Browser Devtools Console
- [ ] Suggestion : replace
xml2jsin favor offast-xml-parser. - [ ] Suggestion : Screencast Wordpress instance ?
- [ ] Suggestion : Add
BiDiprotocol ? - https://github.com/WordPress/wordpress-playground/pull/2612
- https://github.com/WordPress/wordpress-playground/pull/2625
Caveats
- No CSS to stylize logs - use ANSI instead
Dynamic extension
- [ ] Transform
withXdebuginto a more generic option :withExtensionsand manage those extensions individually. - [ ] Transform
setPHPIniEntriesto mention which php ini file we want to create or update - [ ] Set MAIN_MODULE = 2
Related issues and pull requests
- https://github.com/WordPress/wordpress-playground/issues/2763
- https://github.com/WordPress/wordpress-playground/issues/2752
- https://github.com/WordPress/wordpress-playground/issues/2753
- https://github.com/WordPress/wordpress-playground/issues/2755
- https://github.com/WordPress/wordpress-playground/issues/2756
- https://github.com/WordPress/wordpress-playground/issues/2757
- https://github.com/WordPress/wordpress-playground/issues/2435
- https://github.com/WordPress/wordpress-playground/issues/314
- https://github.com/WordPress/wordpress-playground/issues/2299
- https://github.com/WordPress/wordpress-playground/pull/2288