Skip to content

feat: add configuration for container interactivity#29

Merged
mariajgrimaldi merged 1 commit into
mainfrom
MJG/interactive-attach-debug
Dec 5, 2022
Merged

feat: add configuration for container interactivity#29
mariajgrimaldi merged 1 commit into
mainfrom
MJG/interactive-attach-debug

Conversation

@mariajgrimaldi
Copy link
Copy Markdown
Contributor

@mariajgrimaldi mariajgrimaldi commented Dec 2, 2022

Description

This PR adds the needed configuration for container interactivity using tools like pudb/pdb for debugging purposes.

How to test

  1. After enabling the debugging services (check the instructions in this PR for a how to test), increase the number of replicas to 1 (if not already)
  2. Enter the container, then install nano if needed
  3. Modify nano /openedx/edx-platform/common/djangoapps/student/views/dashboard.py adding a breakpoint in the student_dashboard view (easy to test)
  4. Attach to the container: k attach -it lms-debug-XXXXX-XXXXX
  5. Enter the student dashboard

@mariajgrimaldi mariajgrimaldi requested a review from a team December 2, 2022 11:58
@mariajgrimaldi mariajgrimaldi merged commit fbc4489 into main Dec 5, 2022
@MoisesGSalas MoisesGSalas deleted the MJG/interactive-attach-debug branch November 16, 2023 15:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants