redhat-developer / intellij-openshift-connector

IntelliJ OpenShift Toolkit
https://plugins.jetbrains.com/plugin/12030-openshift-toolkit-by-red-hat/
Eclipse Public License 2.0
16 stars 23 forks source link

Add support for Python #250

Open jeffmaury opened 3 years ago

jeffmaury commented 3 years ago

[kind/Feature]

Which functionality do you think we should add?

odo 2.0 now supports Python based components through devfile. We should add support for those components. Once the debug part is concerned.

Why is this needed?

Python is widely used in the AI/ML area

sbouchet commented 2 years ago

IntellijIDEA as no current out-of-the box python debugger and will not implement Debug adapter protocol. see this issue https://intellij-support.jetbrains.com/hc/en-us/community/posts/360004975119-PHPStorm-and-Visual-Studio-Code-Debug-Adapter-Protocol and this documentation https://www.jetbrains.com/help/idea/run-debug-configuration-python-remote-debug.html for some official references. the documentation stipulate that every python script needs to be modified, making our devfile-based approach not easily usable for IDEA without manual modification. even worth, this modification implies to hard code host and port of the local IDE env.