Tutorial: Attaching Visual Studio Code to Devstack LMS Container

Hey there!

The move to using Docker for the Open edX® devstack brought many improvements to our workflow, but it isn’t obvious how to use a key developer tool with the Docker-based devstack: a python debugger.

With recent changes to Visual Studio Code, it’s now possible for VS Code users to get Intellisense and debugging working with your containerized devstack LMS. This will give you as-you-type auto-completion of most python code, near-real-time pylint linting using edX®’s linting rules, and the ability to step through edxapp’s execution and pause and inspect variables while it runs.

Given the complexity of the setup, we at OpenCraft decided to write a tutorial on how to set this up and share it with the development community.

You can find it in this blog post.