---
title: "Charm Workshop: Debugging Juju Hooks\n    | Ubuntu"
description: 'In this charm school Charles Butler and Corey Johns go over the traditional
  way to debug Juju charm hooks, and Corey introduces his new Juju plugin, DHX, designed
  to make debugging hooks much easier. Corey’s debug hook script, DHX, is available
  here: https://github.com/juju/plugins […]'
url: https://ubuntu.com/blog/charm-workshop-debugging-juju-hooks?format=md
keywords: index, follow
---

1. [Blog](https://ubuntu.com/blog)
2. Article

---

[Jorge O. Castro](https://ubuntu.com/blog/author/jorge "More about Jorge O. Castro")

21 November 2014

# Charm Workshop: Debugging Juju Hooks

---

Share the article

In this charm school Charles Butler and Corey Johns go over the traditional way to debug Juju charm hooks, and Corey introduces his new Juju plugin, DHX, designed to make debugging hooks much easier.

Corey’s debug hook script, DHX, is available here: [https://github.com/juju/plugins](https://github.com/juju/plugins "https://github.com/juju/plugins")

[Get in touch

Interested in running Ubuntu in your organization?](https://ubuntu.com/about/contact-us/form)

## Newsletter signup

Get the latest Ubuntu news and updates in your inbox.

Work email:

\*I agree to receive information about Canonical's
products and services.

By submitting this form, I confirm that I have read and agree to [Canonical's Privacy Policy](https://canonical.com/legal/data-privacy).

Sign up

## Share on

---

## Related posts

[### How we create a Canonical Academy exam](https://ubuntu.com/blog/how-we-create-a-canonical-academy-exam)

Open source provides the world with access to cutting-edge software, and the learning that comes with it. But how do you validate someone’s skills in an open ecosystem?...

[Ishani Ghoshal](https://ubuntu.com/blog/author/ishanighoshal)

2 September 2026

[### Surviving the uncharted: when dedicated OpenStack expertise is your best ally in disaster recovery](https://ubuntu.com/blog/support-restores-openstack)

A customer’s OpenStack control plane went down overnight after their only backup proved stale. Canonical support rebuilt the database cluster live, service by service, without...

[Lidia Luna Puerta](https://ubuntu.com/blog/author/lidia-luna)

1 September 2026

[### Canonical joins the Open Secure AI Alliance](https://ubuntu.com/blog/open-secure-ai-alliance)

Canonical is now part of the Open Secure AI Alliance, announced by NVIDIA with partners across cloud computing, cybersecurity, enterprise software, open source foundations, and...

[Canonical](https://ubuntu.com/blog/author/canonical)

28 August 2026

[### AI harnesses for telco autonomous networks](https://ubuntu.com/blog/ai-harnesses-for-telco-autonomous-networks)

As the telco industry transitions toward Autonomous Networks Level 4, a fundamental architectural challenge has emerged: how do you build a secure, reliable and interoperable...

[estelacarmona](https://ubuntu.com/blog/author/estelacarmona)

28 August 2026
