-
-
Notifications
You must be signed in to change notification settings - Fork 16
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
Tools -> DDEV -> Share does not output the ngrok
status
#53
Comments
Thank you for reporting this @jonaseberle. But I wasn't aware of the bug you describe. It might have something to do with a recent refactoring of the terminal actions (using a PTY) I did. I will check what I can do to solve this. Thanks! |
Unfortunately, I can't reproduce your issue. @SpraxDev could you maybe test this on Debian? As I mentioned before, I plan to optimize the functionality of ddev share, e.g. by providing the share url in the UI with the option to automatically copy it to the clipboard and other convenience features like this. But this has no high priority to me right now.
|
I'm having the exact same issue where the IDE Terminal does not show anything from ngrok while the command in the terminal does as expected: |
I just realized that it might not have anything to do with the Jetbrains internal terminal: When disabling the plugin "Terminal (bundled)" the Tools -> DDEV -> share command still works. And when running It seems to be more about this part called from |
This is the configuration of the process, using a pseudo terminal, which is required for many terminal features. At least on Windows and WSL this setup works quite well. As I can not reproduce this in my environments, I might need your help @SpraxDev. Thank you both for your detailed feedback, @jonaseberle, @SpraxDev! |
Hi @jonaseberle, A possible workaround might be to not use the so-called "ui" mode and enable info logging on the console instead. This leads to much better results on all operating systems in the PHPStorm terminal, as the information is logged progressively. |
One thing to be aware of, and I'm sure you already are, is that ngrok has changed quite a lot in the last couple of months, with a new version and a new config file. Just putting that out there. |
Thank you for the hint! |
As this bug is a bit more complicated than expected and we plan to overhaul the ngrok integration in 1.1 anyway, I will delay this for the 1.1 release. Sorry. |
Is there an existing issue for this?
Are you sure that this bug is related to this DDEV Integration Plugin?
Describe the bug
Running
ddev share
outputsIt includes the output of the dynamic
ngrok
domain (if you are on the free plan) which is important information to use it.Running it with the plugin (via Tools -> DDEV -> Share) shows only this in the integrated PhpStorm terminal:
Steps to reproduce
Compare with
ddev share
in your favorite terminal.Additional context
ngrok
shows a kind of "terminal full screen app" while it is running. That means it repositions the cursor to output text at arbitrary locations. Somehow this does not work with the integrated terminal.Nota bene:
top
(which probably uses a similar technique) works ok in the integrated terminal.Tested on:
v1.19.2-10-ge3dc718b
(main
)ngrok
version 3.0.3Is the output OK on other OSes/shells?
The text was updated successfully, but these errors were encountered: