eclipse-wildwebdeveloper / eclipse-wildwebdeveloper/wildwebdeveloper

Debug an Angular application in a Vagrant container

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

还没有人认领这个 Issue。

主要语言
Java
星标
201
派生
76
平均合并
4 天 7 小时
30 天内合并 PR
21

描述

Hello,

TL;DR: How do I setup debug for an angular application inside a Vagrant container ? all debug instructions I could found presumed non-containerized use. Has someone been able to debug inside a container ?

Long story:

I'm using WWD for some time now and like it a lot. But I've never been able to setup debug correctly. It really didn't matter much because console.log and alerts were enough until now.
But recently I had a bug on the keycloak enabled app-init of my application. So the app just reloaded everytime and I had to excessively use alerts with JSON.stringify to debug it. This is rather inefficient.
So this made me feel it's about time for me to setup debug correcty.

I've seens these instructions:

https://github.com/eclipse/wildwebdeveloper/issues/661
https://github.com/eclipse/wildwebdeveloper/blob/master/TIPS_and_FAQ.md
https://github.com/eclipse/wildwebdeveloper/issues/566
https://github.com/eclipse/wildwebdeveloper/issues/111

I've also seen this question on SO:

https://stackoverflow.com/questions/25617323/can-i-debug-angularjs-and-typescript-in-eclipse

But as I said all of them presume host, non-containerised usage.

Any help appreciated. Thanks.

贡献指南

打开贡献指南

从这里开始

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

调研方向

先查看 TIPS_and_FAQ.md 以及链接的 issue #661、#566 和 #111,然后将其中基于主机的调试指导与此处描述的 Vagrant 容器场景进行比较。提供或记录一种经过验证的、用于在 Vagrant 容器内调试 Angular 应用程序的方法,即表示完成。

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

评估

技术栈
angular
领域
developer-experience
Issue 类型
文档
难度
4/5
预计耗时
3-5 天
活跃度
停滞
描述清晰度
需要澄清
新手友好度
25/100

把新 issue 发到你的邮箱

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