-
-
Notifications
You must be signed in to change notification settings - Fork 9.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Feature] Integrate PsySH in dev mode #10094
Comments
👍 |
There is this one too: https://github.com/d11wtq/boris |
👍 @lyrixx PsySH also works on windows |
@hason The video shows exactly what I was thinking about, would be great to investigate more. |
@vicb Great idea..really cool stuff :) |
👍 great idea |
We are on it ;) |
huge ass 👍 |
Not completely positive, but isn't PHPDGB going to be included in PHP 5.6? Perhaps we should look in that direction... |
seems cool 👌 |
An another example of using websockets https://github.com/Hywan/PHP-live-execution |
So I have tried lot of things:
|
I use both PsySh and Symfony. PsySH is based upon Symfony/Command and i usually get conflicts when the component version that uses is different than the one on PsySh. It would be great to integrate both and solve this. Even more funnier if a repl is open as a debug option. @lyrixx you could capture exceptions changing the handler, and even some errors. I made a proof of concept here https://github.com/varas/errepl |
@varas If you add PsySH to your symfony project's composer.json then do |
Sorry, I did not take time to comment this topic.
|
Thanks @bobthecow i'm used to include require-dev's from global, but that seems to be more convenient. |
ping! any code samples, updates or a project started on this, should i work from scratch? |
All my code is a very quick & dirty code. But you can have a look to: https://github.com/dpb587/ti-debug which is a good start. |
Looks like it's not that easy. If anyone can create a PR, that would be great; closing this issue in the meantime. |
If you're looking for a simple CLI for the container, kernel, and parameters, check out https://github.com/theofidry/PsyshBundle |
It would be great to be able to debug exception in dev mode with PsySH.
I've not yet look at the details and how hard this could be but using a REPL to debug misbehaved code is something really useful - This is something avaiable in the Python Pylons framework.
/cc @bobthecow
The text was updated successfully, but these errors were encountered: