Skip to content

Add live debugging targets to local dev Makefile #1029

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Nov 18, 2022

Conversation

krivard
Copy link
Contributor

@krivard krivard commented Nov 16, 2022

Prerequisites:

  • Unless it is a documentation hotfix it should be merged against the dev branch
  • Branch is up-to-date with the branch to be merged with, i.e. dev
  • Build is successful
  • Code is cleaned up and formatted

Summary

Adds two targets useful for debugging:

  • mysql - a live mysql prompt to the dev database
  • bash - a live bash prompt in the python environment

@krivard krivard requested a review from dshemetov November 16, 2022 16:44
Copy link
Collaborator

@melange396 melange396 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this is great!

i ~never use the docker run command with "bash" but often with "python3" in its place instead... but "bash" is good because lets you poke around the file system of the container, and you can easily enter the same interactive python interpreter by just running python3 from within that bash shell session.

@krivard krivard merged commit b823f09 into dev Nov 18, 2022
@krivard krivard deleted the krivard/makefile-additions branch November 18, 2022 19:53
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