最新消息:雨落星辰是一个专注网站SEO优化、网站SEO诊断、搜索引擎研究、网络营销推广、网站策划运营及站长类的自媒体原创博客

vscode: php debug extension: docker container debugging: invalid debug adapter (suddenly, worked for a long time before) - Stack

programmeradmin1浏览0评论

My environment: vscode 1.96.4 (windows), php debug 1.35.0, Ubuntu 20.04.3 lts, docker 20.10.25, php 7.4.30, xdebug 3.1.5

After months of working properly VSCode PHP Debug extension stopped working. My typical configuration is debugging some php + apache containers on remote host, via ssh.

Looking into extension host(remote) output I can see:

error: Invalid Debug Adapter
at vVt.p (vscode-file://vscode-app/[...]out/vs/workbench/workbench.desktop.main.js:748:95)
at vVt.$acceptDAExit (vscode-file://vscode-app/[...]out/vs/workbench/workbench.desktop.main.js:748:35)
at Odt.S (vscode-file://vscode-app/[...]out/vs/workbench/workbench.desktop.main.js:3144:41680)
at Odt.Q (vscode-file://vscode-app/[...]out/vs/workbench/workbench.desktop.main.js:3144:41458)
at Odt.M (vscode-file://vscode-app/[...]out/vs/workbench/workbench.desktop.main.js:3144:40546)
at Odt.L (vscode-file://vscode-app/[...]out/vs/workbench/workbench.desktop.main.js:3144:39783)
at oee.value (vscode-file://vscode-app/[...]out/vs/workbench workbench.desktop.main.js:3144:38444)
at x.B (vscode-file://vscode-app/[...]out/vs/workbench/workbench.desktop.main.js:30:748)
at x.fire (vscode-file://vscode-app/[...]out/vs/workbench/workbench.desktop.main.js:30:967)
at K6.fire (vscode-file://vscode-app/[...]out/vs/workbench/workbench.de

I tried:

  • restart docker service
  • restart docker host
  • rebuild containers
  • another container configuration: another subnet, ports
  • try another vscode windows host
  • reinstall vscode on my dev pc
  • remove ~/.vscode-server on docker host

Please give me any suggestions how to fix it.

与本文相关的文章

发布评论

评论列表(0)

  1. 暂无评论