odo-devfiles / registry

A repository of devfile 2.0 stacks for odo
7 stars 33 forks source link

Add python and python-django devfiles #36

Closed kadel closed 4 years ago

kadel commented 4 years ago

https://github.com/openshift/odo/issues/2327

gorkem commented 4 years ago

How about debug ? Something like this perhaps?

kadel commented 4 years ago

How about debug ? Something like this perhaps?

oh, forgot about that :-( I'll add it

dgolovin commented 4 years ago

@kadel Does not work for me until I replace ${POJECT_SOURCE} with /projects. After this change I can push and run odo debug port-forward and connect to pushed component manually creating local launch configuration for vscode project.

s2i python component does not provide debugging at all, I can run 'odo push --debug' and 'odo debug port-forward' but connection to debug port is still refused.

kadel commented 4 years ago

@kadel Does not work for me until I replace ${POJECT_SOURCE} with /projects. After this change I can push and run odo debug port-forward and connect to pushed component manually creating local launch configuration for vscode project.

Ah, good catch.PROJECT_SOURCE env variable was added after we cut 2.0.0 release :-( So this wouldn't work with 2.0.0 odo :-(