Closed kadel closed 4 years ago
How about debug ? Something like this perhaps?
oh, forgot about that :-( I'll add it
@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 Does not work for me until I replace ${POJECT_SOURCE} with
/projects
. After this change I can push and runodo 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 :-(
https://github.com/openshift/odo/issues/2327