Remote Debugging Flask/Python Applications in OpenShift/Kubernetes and VS Code — Part 3.

Moyo Oyegunle
1 min readFeb 12, 2024

--

This article series covers sample methods to accomplish remote debugging your python application running in OpenShift/Kubernetes. In Part 1 we used Port-forwarding to enable our debugger session. In Part 2 we used ODO to manage our port-forwarding and file syncing.

In this part we will cover something a bit more straightforward. If we are unable to port-forward to our remote cluster then another option might be to move our IDE into our remote cluster.

There are good options to run the VS Code IDE in your cluster. You can use OpenShift Dev Spaces or Code Server. This allows your applications to be debugged while connecting to the resources they would need in a real production environment.

Running DevSpaces For VS Code in the Browser

Hopefully these examples were useful.

--

--

Moyo Oyegunle

Curious about technology. Write about technology that I work on and stories in the technology space.