- 48lessons
- 4guided projects
- 8module checkpoints
- 2.5hours of video
What you'll learn
- Reproduce a reported failure on demand and minimise the failing input.
- Narrow a fault by halving the code path and by bisecting history with git bisect.
- Drive the Python debugger pdb with breakpoints, stepping and post-mortem inspection.
- Debug a web page in Chrome DevTools with breakpoints, logpoints and the Network panel.
- Turn each defect into a regression test and assemble a verified defect casebook.
Skills you'll gain
- Reproduction
- evidence
- Breakpoints
- stepping
- State inspection
- Stack traces
- errors
- Browser developer tools
- Profiling boundaries
- Regression tests
- Verified defect casebook
Tools you'll use
- Python
- pdb
- logging
- git bisect
- Chrome DevTools
- cProfile
Details to know
- Certificate on completionIssued after your final project is reviewed
- 8 module checkpointsA quiz and a practical task close each module
- Self-pacedStudy any time; your progress is saved
How every lesson works
Each lesson follows the same four steps, so you always know what comes next.
- 01
Watch & Learn
A short animated video explains one idea at a time.
- 02
Guided Practice
Work through an example step by step and check the result.
- 03
Quiz & Challenge
Short questions check the idea has landed before you move on.
- 04
Mini Project
Build something useful from a project brief.
Learn at your own pace
This is a self-paced course. There are no live classes and no fixed timetable.
- Start any timeStudy when it suits you. Lessons are short, so they fit around work or college.
- Pick up where you left offYour progress is saved to your account.
- Ask when you're stuckUse Ask Mentor inside the learning platform.
Your path in 4 phases
Each phase ends with something you have built and checked.
- 01
Modules 1 to 2
Reproduce and step through
Reproduce and shrink failures, then drive pdb.
You build: Reproduction kit and a pdb session record.
- 02
Modules 3 to 4
Read state and errors
Inspect state, frames and logs, then read tracebacks and silent failures.
You build: State, log and error-reading dossier.
- 03
Modules 5 to 6
Browser and performance
Debug a page in Chrome DevTools and measure before optimising.
You build: Browser and performance investigation.
- 04
Modules 7 to 8
Tests and casebook
Turn fixes into regression tests and write a verified defect casebook.
You build: Regression-tested casebook with peer verification.
Full curriculum
8 modules and 48 lessons, 30 to 50 hours of study
01Reproduction and evidence6 lessons, 3 to 4 hours
Lessons
- Failure, fault and hypothesis: the debugging loop
- Making a failure reproducible
- Shrinking a failing input to its minimum
- Narrowing a failure by halving the code path
- Bisecting history with git bisect
- Keeping a debugging log of evidence
After this module you can
- Given a buggy program run, label the observed failure, name one candidate fault and write a falsifiable hypothesis with a predicted observation.
- Turn a vague 'it sometimes breaks' report into a command, inputs and environment settings that fail every time, and record them.
- Maintain a chronological log of hypotheses, experiments, predictions and results so that every conclusion links to an observation, and use it to retire a wrong theory.
02Breakpoints and stepping6 lessons, 3 to 4 hours
Lessons
- Starting pdb with python -m pdb and breakpoint()
- Setting line breakpoints with break and continue
- Stepping with next, step and return
- Conditional breakpoints and temporary breakpoints
- Post-mortem debugging after a crash
- Automating repetitive stops with commands, until and display
After this module you can
- Start a supplied script under the debugger two ways, observe where it pauses, list source around the pause and leave with continue or quit.
- Set breakpoints by line number and function name, list them, disable and clear them, and run to the next one with continue.
- Attach commands to a breakpoint that print selected values and continue, use until to leave a loop, and compare the output with a manual session.
03State inspection6 lessons, 3 to 4 hours
Lessons
- Reading values with p, pp, args and list
- Walking the call stack with where, up and down
- Aliasing and mutation: the shared-state bug
- Invariants and assertions as inspection
- Choosing log levels and basic configuration
- Writing log messages you can debug from
After this module you can
- At a pdb pause, print a variable, a pretty-printed nested structure, the current function's arguments and the surrounding source, then state which value contradicts the expected one.
- Use where, up and down to view the callers' variables and decide whether bad data arose in the function that failed or in a caller.
- Rewrite vague log messages into ones that carry identifiers and values, use lazy formatting and logger.exception, and trace one request across log lines with an id.
04Stack traces and errors6 lessons, 3 to 4 hours
Lessons
- Reading a Python traceback from the bottom up
- Failure site versus fault site
- Exception chaining: cause and context
- Exception types as clues
- Silent failures and swallowed errors
- Crashes, hangs and core-dump style reports
After this module you can
- Read a traceback by locating the exception type and message first, then the innermost frame, then the frames that called it, and say what each part tells you.
- Given a traceback and source, decide whether the defect lies at the crashing line, in a caller, or in earlier data, and justify with a value taken from the frame.
- Choose the right first move for a hard crash, a hang and a segmentation fault, and read a faulthandler dump at concept level, including what a core dump is and what it is not.
05Browser developer tools7 lessons, 3 to 5 hours
Lessons
- Console and Elements: inspecting what the page really contains
- Sources panel: line breakpoints, conditional breakpoints and logpoints
- Inspecting scope, call stack and watch expressions while paused
- Pause on exceptions and event and DOM change breakpoints
- Network panel: reading a request and its response
- Client or server? Using the Network panel to place the fault
- Reproducing a front-end bug for a report from DevTools evidence
After this module you can
- Use the Elements panel and the Console to compare the DOM the browser built with the HTML source, and find why an element is hidden or styled wrongly.
- Pause a supplied script at a line, make a breakpoint conditional, and replace a console.log with a logpoint that logs without editing source.
- Package a browser bug with steps, console errors, network evidence and a screenshot description so another person can reproduce it.
06Profiling boundaries6 lessons, 3 to 4 hours
Lessons
- Measure first: a repeatable timing baseline
- Reading a cProfile report: ncalls, tottime and cumtime
- Interpreting hot paths and finding the real hotspot
- What profilers cannot tell you: overhead, sampling and blind spots
- Recording and reading a browser performance trace
- Verifying that an optimisation helps and stays correct
After this module you can
- Build a repeatable timing of a supplied slow function with the same input, several runs and a recorded median, and decide whether a claimed slowdown is real.
- Run cProfile on a supplied program and read ncalls, tottime and cumtime to name the function that uses own time and the one that merely calls expensive code.
- Apply one optimisation to a supplied hot function and prove with before and after measurements and a behaviour check that it is faster and gives identical results.
07Regression tests6 lessons, 3 to 4 hours
Lessons
- Turning a bug into a failing test before fixing
- Making the minimal fix and proving the test turns green for the right reason
- Probing the neighbourhood: boundaries and sibling inputs
- Chasing an intermittent failure with repetition, seeds and logs
- Searching for the same defect elsewhere
- Reviewing a fix: root cause versus symptom patch
After this module you can
- Write a unittest that fails for exactly the reported bug, run it to see the failure with the expected message, and only then change the code.
- Change the smallest piece of code that removes the cause, run the full suite, and check that the regression test fails again when the fix is reverted.
- Review a supplied fix against a checklist and decide whether it addresses the root cause, preserves behaviour and includes a regression test.
08Verified defect casebook5 lessons, 2 to 4 hours
Lessons
- Writing a bug report others can reproduce
- Root-cause write-ups: from symptom to cause with evidence
- Assembling a complete casebook entry
- Debugging unfamiliar code under a time box
- Peer verification and handoff of a casebook
After this module you can
- Write a bug report with title, environment, numbered steps, expected result, actual result and evidence that a colleague can follow to see the failure.
- Write a root-cause analysis that traces the failure to its cause through numbered evidence, states why the cause explains every observation and names what would disprove it.
- Have a classmate verify your casebook entry from the entry alone, record what they could and could not reproduce, and revise the entry until a second person succeeds.
What you'll build
4 guided projects along the way, then a final project.
Reproduction kit and pdb session record
after module 2State, log and error-reading dossier
after module 4Browser and performance investigation
after module 6Regression-tested casebook with peer verification
after module 8
Final project
Choose one casebook: three Python console programs with planted defects, three browser pages with a small backend, or three git repositories with a defect in history.
What you submit
Reproduction recipes, minimal inputs, debugging logs, fixes and regression tests for each case, in a repository history showing red-before-green order.
How it's reviewed
Rubric: reproduction 20%, evidence 25%, root cause 20%, fix and regression test 20%, bug report and casebook 15%, plus a live fix of an unseen defect.
Where you'll use it
- Write a bug report another developer can reproduce from the text alone.
- Find which commit introduced a regression with git bisect and add a test that guards it.
Roles that use these skills
- Software developer
- QA engineer
- Support engineer
Earn the certificate by building, not watching
- Complete the lessons and pass each module checkpoint.
- Build your final project and demonstrate it.
- OUTLEARN reviews your project and issues your certificate. It is not issued automatically.
Frequently asked questions
Which language are the labs in?
Python; the browser module uses basic HTML and JavaScript as read-only support.
Is a fix enough to pass a case?
No. It must be a root-cause fix with a regression test that fails on the old code and passes on the fix.
Is profiling covered?
Yes. You time code, read a cProfile report and verify an optimisation is faster and still correct.
Be first in when Debugging & Developer Tools opens
Email us and we will tell you as soon as enrolment opens.
Notify me when it opens
