Hey there,
Sorry I haven’t looked into this.
I guess we should consider this by design: you won’t have Xdebug output because PHP Console will “hijack” the output that you’d normally have in your page to bring it on the JS console. I believe this plugin is for folks that on the contrary don’t want output in the webpage or logs, but only in the console.
If you need to switch between debug tools you could toggle PHP Console activation by clicking on the Chrome extension button that normally activates the terminal. That panel also shows to you some options you could fiddle with to check if there’s a combo that best suits your debugging environment.
You can also open an issue with https://github.com/barbushin/php-console to see if they have a recommendation.
Cheers and thanks for trying out the plugin in your development work.
Hi,
Thank you for answering…
I’ve posted here because I already use PHP-Console in other project (non-Wordpress), and I can use var_dump() with PHP console enabled without any problem.
So, I was thinking it was a issue only with the WP plugin…
(couple of minutes later)… I just investigated, and I found it!
The vendor/php-console included with your plugin was different than my version.
So, I downloaded the official php-console-master from barbushin on Gitbug, replaced the plugin vendor/php-console by the downloaded one, and… tada… it works the same way than my other projects !
Anyway, many thanks!
interesting, probably needs to update the core library, will push a release for this
thanks for the finding!