mirror of
https://github.com/ChristianLight/tutor.git
synced 2024-12-12 14:17:46 +00:00
docs: add more clarity to debugging section
This commit is contained in:
parent
d3aa7d9a52
commit
0ef86fc2a0
@ -86,7 +86,10 @@ Finally, the platform can also be started back up with ``launch``. It will take
|
|||||||
Debugging with breakpoints
|
Debugging with breakpoints
|
||||||
--------------------------
|
--------------------------
|
||||||
|
|
||||||
To debug a local edx-platform repository, add a `python breakpoint <https://docs.python.org/3/library/functions.html#breakpoint>`__ with ``breakpoint()`` anywhere in the code. Then, attach to the applicable service's container by running ``start`` (without ``-d``) followed by the service's name::
|
To debug a local edx-platform repository, first, start development in detached mode (with ``-d``), add a `python breakpoint <https://docs.python.org/3/library/functions.html#breakpoint>`__ with ``breakpoint()`` anywhere in the code. Then, attach to the applicable service's container by running ``start`` (without ``-d``) followed by the service's name::
|
||||||
|
|
||||||
|
# Start in detached mode:
|
||||||
|
tutor dev start -d
|
||||||
|
|
||||||
# Debugging LMS:
|
# Debugging LMS:
|
||||||
tutor dev start lms
|
tutor dev start lms
|
||||||
|
Loading…
Reference in New Issue
Block a user