-
Notifications
You must be signed in to change notification settings - Fork 60
Debug session failed to start #2608
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
Comments
@odockal this seems related to devfile content. Will check with odo team if we need to run 'odo dev --debug' to make it work. |
This is most likely devfile issue devfile/registry#122. On our side we might want to run |
@dgolovin I have tested again today and got also a bit different error: |
@odockal Cannot replicate. Tried all the possible usecases: before ports forwarded, after they forwarded. When does that happen, before you select local target port or after? |
@odockal found it! It happens if you cancel port selection. |
This PR fixes redhat-developer#2608. Signed-off-by: Denis Golovin [email protected]
This PR fixes #2608. Signed-off-by: Denis Golovin [email protected]
I have also added |
Debug is not going work out of the box until pr above is applied to the registry, due to missing debug endpoints in devfiles. |
@dgolovin I have only one option as an URL to choose from: 127.0.0.1:40001. If I choose that, nothing really changes. There is no cancel operation from my side. |
FYI, devfile/registry#122 has been merged and applied to both staging and production registries. So debug endpoints can now be forwarded out of the box by |
Verified on python-django and there is 'debug' port now declared in port-forwarding section. I'll modify starting debugger and look for 'debug' port first, if not available extension is going to ask to select port form the available ones. I'll also show port names if quick pick if available. |
This PR fixes redhat-developer#2608. Signed-off-by: Denis Golovin [email protected]
This PR fixes #2608. Signed-off-by: Denis Golovin [email protected]
Linux, fedora 36, Using remote OCP
Actual result: Error: Debug session failed to start
The text was updated successfully, but these errors were encountered: