How to debug Django inside a Docker container with VSCode

This page summarizes the projects mentioned and recommended in the original post on dev.to

Our great sponsors
  • SurveyJS - Open-Source JSON Form Builder to Create Dynamic Forms Right in Your App
  • WorkOS - The modern identity platform for B2B SaaS
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • Visual Studio Code

    Visual Studio Code

  • After adding this piece of code to .bashrc, VSCode must be restarted to allow the process to get the new defined env. This process has to be done due to how VSCode is opened and how processes work, for more info, see here.

  • pyenv

    Simple Python version management

  • Python version manager pyenv

  • SurveyJS

    Open-Source JSON Form Builder to Create Dynamic Forms Right in Your App. With SurveyJS form UI libraries, you can build and style forms in a fully-integrated drag & drop form builder, render them in your JS app, and store form submission data in any backend, inc. PHP, ASP.NET Core, and Node.js.

    SurveyJS logo
  • debugpy

    An implementation of the Debug Adapter Protocol for Python

  • debugpy description from it's repository:

  • django-gunicorn-nginx-docker

    Ready-To-Deploy Django application with docker compose

  • For this demonstration, this project will be used: https://github.com/wiamsuri/django-gunicorn-nginx-docker

  • vscode-python-debugger

    Python debugger (debugpy) extension for VS Code.

  • WorkOS

    The modern identity platform for B2B SaaS. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.

    WorkOS logo
NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts