diff --git a/gitlab-ci.yml b/gitlab-ci.yml
index f679d6e..0a3eab3 100644
--- a/gitlab-ci.yml
+++ b/gitlab-ci.yml
@@ -305,6 +305,39 @@ build-package:cros:
     reports:
       dotenv: env

+build-package:debug:
+  extends:
+    - .fdo.distribution-image@debian
+    - .libcamera-ci.debian:12
+    - .libcamera-ci.scripts
+  stage: build
+  needs:
+    - job: container-debian:12
+      artifacts: false
+  script:
+    - $CI_PROJECT_DIR/.gitlab-ci/build-libcamera.sh
+    - $CI_PROJECT_DIR/.gitlab-ci/package-libcamera.sh
+  artifacts:
+    name: libcamera-debug-${ARCH}-${CI_COMMIT_SHA}
+    when: always
+    expire_in: 1 week
+    paths:
+      - build/meson-logs/
+      - libcamera-${CI_COMMIT_SHA}.tar.xz
+  variables:
+    BUILD_TYPE: debug
+    MESON_OPTIONS: >-
+      -D auto_features=disabled
+      -D test=false
+      -D v4l2=false
+      -D b_sanitize=address,undefined
+      -D cpp_debugstl=true
+      -D pipelines=[]
+  parallel:
+    matrix:
+      - ARCH: amd64
+
+
 # ------------------------------------------------------------------------------
 # Lint stage - Run checkstyle.py and check merge suitability
 # ------------------------------------------------------------------------------
