Debugger Not Attached to Container

未关闭
#117 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

还没有人认领这个 Issue。

评估

难度
5/5
预计耗时
一周以上
新手友好度
25/100
Issue 类型
功能
描述清晰度
需要澄清
活跃度
停滞
技术栈
dart, docker, gcp, kubernetes, vscode

调研方向

从 Skaffold 的容器调试文档以及随附的 launch.json、Dockerfile 和详细输出日志开始。确定 Dart 是否需要特定于运行时的支持文件或有文档说明的容器配置。当 Dart 调试能够用于 Cloud Run/Run Debug Locally,调试器已连接并且能够命中断点时,即视为完成。

由索引模型根据 Issue 内容生成。

描述

Environment:
OS: MacOs Monterey v12.3 (Processor: 2.2 GHz 6-Core Intel Core i7)
Language: Dart
Cloud Code Extension version: v1.18.2
VSCode version: 1.66.2
Google Cloud SDK: 385.0.0
kubectl: 1.21.9
minikube: 1.25.2
skaffold: 1.38.0

Description
When trying to run 'Cloud Run/Run Debug Locally', the breakpoints are not being hit and the debugger is not attached. Message from 'Cloud Run/Run Debug locally Detailed' below:
error msg

Following the skaffold documentation (https://skaffold.dev/docs/workflows/debug/#configuring-container-images-for-debugging), we ended up here to find a run-time specific image support for Dart, but there is no support for Dart. Just would like to request support for Dart if Dart runtime requires additional support files.

If not, is there any chance that you know how can I configure the container to make it debuggable?
Really appreciate it.

Additional Information:
launch.json
launch

Dockerfile
docker

Detailed Output log
Screen Shot 2022-05-18 at 10 46 28 am

主要语言
Go
星标
105
派生
33
平均合并
8 小时 47 分钟
30 天内合并 PR
1

环境准备

  • 没有 Dockerfile 或 Docker Compose 文件
  • 没有 Pull Request 模板
  • 阅读贡献指南

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

GoogleContainerTools/container-debug-support 的其他 Issue

查看 GoogleContainerTools/container-debug-support 的全部 Issue

相似的 Issue

更多 Go Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。