-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
skaffold debug
may need to apply IDE-specific language runtime bindings
#2202
Comments
Could that be handled together with #2203? E.g. artifacts:
- image: foobar
runtimeType: python
# or
runtimeType: python-idea |
IDEs shouldn't need to modify the |
Marking as stale, since it's been a while and does not appear to be on the teams priority radar. Feel free to reopen if you disagree. |
Re-opening but marking as p3 as we know it's an issue but other issues were higher priority. |
With Delve's DAP finishing up, we'll need to support this soon. Rather than trying to maintain IDE-compatibility tables, I think it's best if the IDEs specify a list of supported protocols. For example, CC-VSC could run:
whereas CC-IJ would run:
Pros:
Cons:
|
how timely! I just wrote up: https://docs.google.com/document/d/1Dj52OayWFFa_3dBSzvt3-xWFIGLvm0oyGswRW4oV0KI, so I think we can converge on this. |
I like how you differentiate between DAP and everything else. Though the slight oddity is that for some runtimes (like Java), afaik the set of transforms for say Also, I wonder if there is ever a case where we'd want to support a mix of DAP and non-DAP protocols in a single invocation (e.g. backwards compatibility with older versions of VSC, pre-Go-DAP)
How do you figure this? Do you mean because JB has to manually specificy all of the individual protocols? |
seems like a small price to pay for the flexibility this grants, otherwise we're going to have to coordinate on both sides every time a new debug protocol is added. my only question is, what happens when two separate protocols for the same language are provided? we can't use both at the same time, so would we select arbitrarily or fail out? |
I think we should default to DAP unless specified. I updated the referenced design above with this proposal. |
This was fixed by #5759 — thanks @matthewmichihara! |
Different IDEs may require different combinations of language runtime support packages. For example, IDEA/PyCharm does not support the Debug Adapter Protocol, so
ptvsd
for Python will not work out of the box. Instead it needs to use a separate package,pydevd-pycharm
to enable remote debugging. And unfortunately it seems to require running some code on startup to enable.We can maybe try to support this by a command-line specified "flavour" or "kind".
The text was updated successfully, but these errors were encountered: