Neovim for Beginners — Python Remote Debugging

Configure remote debugging for a dockerized Python application.

alpha2phi
4 min readJun 29, 2022
Neovim for Beginners — Python Remote Debugging

In this article, we will learn how to debug a Python application running inside a Docker container.

This article is part of the Neovim for Beginners series.

The Neovim configuration files can be found in this repository.

Getting Started

In previous articles, we learned how to debug applications using either nvim-dap or vimspector. Those applications are running in a local development setup.

For applications running inside Docker, we can still debug them. For demonstration purposes, we will use the YOLO web-based object detection system. The application is developed using React and Python FastAPI framework.

The application captures an image using the webcam and detects the objects.

--

--

alpha2phi

Software engineer, Data Science and ML practitioner.