docker / docker/vscode-extension

Debug Docker Builds with VSC does not break on breakpoint

Open
#235 27 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
TypeScript
Stars
59
Forks
23
PR merge metrics
No merged PRs in 30d

Description

Description

I have DD most recent version
docker buildx version : github.com/docker/buildx v0.30.1-desktop.1 792b8327a475a5d8c9d5f4ea6ce866e7da39ae8b

I create a launch.son as indicated in the article
https://www.docker.com/blog/debug-docker-builds-with-visual-studio-code/

I launch the debugger. right away the red circle in the editor’s left margin becomes white circle, build docker file goes down to the end without stopping by the end point.
What might ne missing

Image Image
Visual Studio Code version

1.107.0

Installed extensions in Visual Studio Code

4ops.terraform@0.2.5
aaron-bond.better-comments@3.0.2
adrianwilczynski.add-reference@1.0.2
ahmadawais.shades-of-purple@7.3.6
akamud.vscode-theme-onedark@2.3.0
akamud.vscode-theme-onelight@2.3.0
almenon.arepl@3.0.0
amazonwebservices.amazon-q-vscode@1.106.0
amazonwebservices.aws-toolkit-vscode@3.90.0
anseki.vscode-color@0.4.5
arjun.swagger-viewer@3.2.0
azure-automation.vscode-azureautomation@1.2.5
azurite.azurite@3.35.0
bencoleman.armview@0.4.6
bierner.docs-view@0.1.0
bierner.lit-html@1.11.1
buianhthang.xml2json@1.2.5
cardinal90.multi-cursor-case-preserve@1.0.5
chakrounanas.turbo-console-log@3.12.1
chouzz.vscode-better-align@1.4.4
christian-kohler.npm-intellisense@1.4.5
christian-kohler.path-intellisense@2.10.0
chrmarti.regex@0.6.0
dbaeumer.vscode-eslint@3.0.20
devsense.composer-php-vscode@1.63.18172
devsense.intelli-php-vscode@0.12.17700
devsense.phptools-vscode@1.63.18172
devsense.profiler-php-vscode@1.63.18172
docker.docker@0.18.0
donjayamanne.githistory@0.6.20
dotjoshjohnson.xml@2.5.1
eamodio.gitlens@17.7.1
ecmel.vscode-html-css@2.0.13
esbenp.prettier-vscode@11.0.2
exodiusstudios.comment-anchors@1.10.4
fabiospampinato.vscode-diff@2.1.2
felixfbecker.css-stacking-contexts@1.0.15
felixfbecker.php-intellisense@2.3.14
fernandoescolar.vscode-solution-explorer@0.9.2
figma.figma-vscode-extension@0.4.3
firefox-devtools.vscode-firefox-debug@2.15.0
formulahendry.auto-close-tag@0.5.15
formulahendry.azure-storage-explorer@0.1.2
formulahendry.code-runner@0.12.2
formulahendry.docker-explorer@0.1.7
formulahendry.dotnet@0.0.4
formulahendry.dotnet-test-explorer@0.7.8
formulahendry.vscode-mysql@0.5.0
fudd.toggle-zen-mode@1.1.2
github.codespaces@1.18.4
github.copilot@1.388.0
github.copilot-chat@0.35.0
github.remotehub@0.64.0
github.vscode-pull-request-github@0.124.0
golang.go@0.50.0
hashicorp.hcl@0.6.0
hashicorp.terraform@2.37.6
hbenl.vscode-test-explorer@2.22.1
heaths.vscode-guid@1.9.0
hhawkins.azurefunctionssnippets@0.1.0
htmlhint.vscode-htmlhint@1.15.1
humao.rest-client@0.25.1
hunter-blazorextensions.csharpnewclass@1.0.0
idleberg.icon-fonts@2.5.4
ivangabriele.vscode-tfs@0.7.2
jakob101.relativepath@1.5.0
jeff-hykin.polacode-2019@0.6.2
johnpapa.vscode-peacock@4.2.2
jorgeserrano.vscode-csharp-snippets@1.1.0
kokororin.vscode-phpfmt@1.2.55
krinql.krinql-vscode@0.1.1
lukasz-wronski.ftp-sync@0.3.9
mccarter.start-git-bash@1.2.1
mechatroner.rainbow-csv@3.23.0
mermaidchart.vscode-mermaid-chart@2.5.6
mhutchie.git-graph@1.30.0
mongodb.mongodb-vscode@1.14.2
ms-azure-devops.azure-pipelines@1.261.1
ms-azure-load-testing.microsoft-testing@0.1.17
ms-azurecache.vscode-azurecache@0.1.0
ms-azuretools.azure-dev@0.10.0
ms-azuretools.vscode-apimanagement@1.3.0
ms-azuretools.vscode-azure-github-copilot@1.0.153
ms-azuretools.vscode-azure-mcp-server@1.0.1
ms-azuretools.vscode-azureappservice@0.26.4
ms-azuretools.vscode-azurecontainerapps@0.10.0
ms-azuretools.vscode-azurefunctions@1.20.2
ms-azuretools.vscode-azurelogicapps@5.230.15
ms-azuretools.vscode-azureresourcegroups@0.11.7
ms-azuretools.vscode-azurestaticwebapps@0.13.2
ms-azuretools.vscode-azurestorage@0.17.1
ms-azuretools.vscode-azureterraform@0.8.0
ms-azuretools.vscode-azurevirtualmachines@0.6.10
ms-azuretools.vscode-bicep@0.39.26
ms-azuretools.vscode-containers@2.3.0
ms-azuretools.vscode-cosmosdb@0.30.1
ms-azuretools.vscode-docker@2.0.0
ms-azuretools.vscode-logicapps@1.2.9
ms-dotnettools.csdevkit@1.90.2
ms-dotnettools.csharp@2.110.4
ms-dotnettools.dotnet-interactive-vscode@1.0.6323010
ms-dotnettools.vscode-dotnet-runtime@3.0.0
ms-dotnettools.vscodeintellicode-csharp@2.2.3
ms-kubernetes-tools.vscode-kubernetes-tools@1.3.27
ms-mssql.data-workspace-vscode@0.6.3
ms-mssql.mssql@1.37.1
ms-mssql.sql-bindings-vscode@0.4.1
ms-mssql.sql-database-projects-vscode@1.5.5
ms-playwright.playwright@1.1.17
ms-python.debugpy@2025.16.0
ms-python.isort@2025.0.0
ms-python.python@2025.20.0
ms-python.vscode-pylance@2025.10.4
ms-python.vscode-python-envs@1.14.0
ms-toolsai.jupyter@2025.9.1
ms-toolsai.jupyter-keymap@1.1.2
ms-toolsai.jupyter-renderers@1.3.0
ms-toolsai.vscode-jupyter-cell-tags@0.1.9
ms-toolsai.vscode-jupyter-slideshow@0.1.6
ms-vscode-remote.remote-containers@0.434.0
ms-vscode-remote.remote-ssh@0.122.0
ms-vscode-remote.remote-ssh-edit@0.87.0
ms-vscode-remote.remote-wsl@0.104.3
ms-vscode-remote.vscode-remote-extensionpack@0.26.0
ms-vscode.azure-account@0.13.0
ms-vscode.azure-repos@0.40.0
ms-vscode.azurecli@0.6.0
ms-vscode.cmake-tools@1.21.36
ms-vscode.cpptools@1.29.3
ms-vscode.cpptools-extension-pack@1.3.1
ms-vscode.cpptools-themes@2.0.0
ms-vscode.js-debug-nightly@2025.11.2517
ms-vscode.live-server@0.4.16
ms-vscode.powershell@2025.4.0
ms-vscode.remote-explorer@0.5.0
ms-vscode.remote-repositories@0.42.0
ms-vscode.remote-server@1.5.3
ms-vscode.test-adapter-converter@0.2.1
ms-vscode.vscode-node-azure-pack@1.8.0
ms-vsts.team@1.161.1
ms-windows-ai-studio.windows-ai-studio@0.26.5
msjsdiag.debugger-for-edge@1.0.15
mtxr.sqltools@0.28.5
naumovs.color-highlight@2.8.0
negokaz.live-server-preview@0.1.4
neilbarkhina.gitdownloadazurerepos@1.0.16
oderwat.indent-rainbow@8.3.1
p42ai.refactor@3.0.1
patbenatar.advanced-new-file@1.2.2
pomdtr.excalidraw-editor@3.9.0
pranaygp.vscode-css-peek@4.4.3
profimedica.live-preview@0.0.3
puppet.puppet-vscode@1.5.5
quicktype.quicktype@23.0.170
rafistatar.addlocalnetreferences@0.4.8
rahulsahay.csharp-aspnetcore@1.11.0
rangav.vscode-thunder-client@2.38.5
redhat.ansible@25.12.2
redhat.java@1.50.0
redhat.vscode-commons@0.0.6
redhat.vscode-xml@0.29.0
redhat.vscode-yaml@1.19.1
rifi2k.format-html-in-php@1.7.0
roelvanegmond.xill-language@0.0.5
ryu1kn.partial-diff@1.4.3
saikumarchinna.rainbow@1.11.2
shinydataanalysis.totvs-coverage-analysis@0.0.6
snyk-security.snyk-vulnerability-scanner@2.27.0
sonarsource.sonarlint-vscode@4.37.0
stansw.vscode-odata@0.1.0
teamsdevapp.vscode-ai-foundry@0.12.5
thekalinga.bootstrap4-vscode@6.1.0
tinkertrain.theme-panda@1.4.0
twxs.cmake@0.0.17
uloco.theme-bluloco-dark@3.7.6
uloco.theme-bluloco-light@3.7.5
vincaslt.highlight-matching-tag@0.11.0
vscjava.vscode-gradle@3.17.1
vscjava.vscode-java-debug@0.58.4
vscjava.vscode-java-dependency@0.26.5
vscjava.vscode-java-pack@0.30.5
vscjava.vscode-java-test@0.43.2
vscjava.vscode-java-upgrade@1.10.0
vscjava.vscode-maven@0.45.1
vscode-icons-team.vscode-icons@12.15.0
warren-buckley.iis-express@1.5.0
xdebug.php-debug@1.39.1
xdebug.php-pack@1.0.3
yzhang.markdown-all-in-one@3.6.3
zaczero.bootstrap-v4-snippets@1.1.3
zhuangtongfa.material-theme@3.19.0

Additional info

No response

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the Docker build debugger behavior described with Docker buildx v0.30.1, VS Code 1.107.0, and the launch.son configuration from the linked article. Trace why the breakpoint changes to a white circle and the build completes without stopping; done means the reported configuration either pauses at the breakpoint or produces a clear diagnostic explaining the missing setup.

Written by the indexing model from the issue text.

Assessment

Tech stack
docker, typescript, vscode
Domain
build-system, devtools
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
32/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.