This repository was archived by the owner on Nov 14, 2022. It is now read-only.
Adds VSCode docker debug task AR-1328 #1315
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Summary of work
This provides some useful Debug launch and pre-launch tasks. They start up the Docker container (and do their best to kill it at the end, but that doesn't always work 😄).
The idea is that if you want to Debug the queue processor but don't want to install the Python environment - just run the Docker one, it will pull & run the container, then connect with the queue processor.
You still need ActiveMQ running - so a task
Run ActiveMQ Dockeris added. This needs to be run manually, as it can remain in the background indefinitely. It adds a delay to the startup, and the docker queue processor already takes a few seconds longer than without docker.How to test your work
Instructions have been added in https://github.com/ISISScientificComputing/autoreduce/wiki/Just-Use-VSCode-&-Docker
Before merging ensure the release notes have been updated