Hi @Yogesh . Here is a solution that has been shared to do this. I’ve taken that solution and adapted things to work with the Dev Containers extension. In this scenario, VS Code can attach from within the container, so you don’t need to expose the debugger port. I’m planning on posting a write-up on it here in the forums soon and I’ll share the link when that is up.
tpayne
(Taylor Payne)
2
Related topics
| Topic | Replies | Views | Activity | |
|---|---|---|---|---|
| Debugging with Visual Studio Code Dev Containers Extension | 4 | 686 | October 3, 2025 | |
| How to Debug python code using vscode | 4 | 1479 | August 22, 2022 | |
| Tutorial: Attaching Visual Studio Code to Devstack LMS Container | 29 | 4809 | December 9, 2020 | |
| Configure Open edX for devstack in vscode | 3 | 1828 | September 1, 2020 | |
| Running tutor dev on Windows | 1 | 367 | March 5, 2025 |