From e9c1554d8ba9f22293e1a4020d6885feff9d73ae Mon Sep 17 00:00:00 2001 From: Mathieu Pillard Date: Fri, 19 Apr 2024 12:15:22 +0200 Subject: [PATCH] Set ipdb as the breakpoint callback (#22135) Allows inserting breakpoint() inside code to debug with ipdb --- docker-compose.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/docker-compose.yml b/docker-compose.yml index 85a63cfddb..4759e622c2 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -12,6 +12,7 @@ x-env-mapping: &env - OLYMPIA_SITE_URL=http://olympia.test - PYTHONDONTWRITEBYTECODE=1 - PYTHONUNBUFFERED=1 + - PYTHONBREAKPOINT=ipdb.set_trace - TERM=xterm-256color - CIRCLECI=${CIRCLECI} - HISTFILE=/data/olympia/docker/artifacts/bash_history