Skip to content

Conversation

@zamentur
Copy link
Member

I wanted some graphical debugger to avoid pdb nightmare...

Copy link
Contributor

@fflorent fflorent left a comment

Choose a reason for hiding this comment

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

Sounds very interesting!

Some real nitpicks (that may be discarded) for now and from my side. I will be interesting in giving a try and see whether the documentation helps me with setting up a debugging environment (though I will probably use nvim-dap instead of vimperator).

done
}
function run_debug() {
if ! dpkg -l |grep python3-debugpy > /dev/null
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
if ! dpkg -l |grep python3-debugpy > /dev/null
if ! dpkg -l | grep -q python3-debugpy

then
apt install -y python3-debugpy
fi
yunohost firewall allow Both 5678 -4 > /dev/null 2> /dev/null
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
yunohost firewall allow Both 5678 -4 > /dev/null 2> /dev/null
yunohost firewall allow Both 5678 -4 &> /dev/null

BTW, what are the reasons for also hiding errors?

dev|--dev) dev "${ARGUMENTS[@]}" ;;
lint|--lint) run_linters "${ARGUMENTS[@]}" ;;
test|--test) run_tests "${ARGUMENTS[@]}" ;;
debug|--debug) run_debug "${ARGUMENTS[@]}" ;;
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
debug|--debug) run_debug "${ARGUMENTS[@]}" ;;
debug|--debug) run_debug "${ARGUMENTS[@]}" ;;

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.

3 participants