firefox-devtools / firefox-devtools/vscode-firefox-debug

version 2.6.1 can't debug angular-cli instances started from 'ng serv'

オープン
#174 コメント 5 件 リアクション 0 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

needs more info
主要言語
TypeScript
スター
447
フォーク
76
PR マージ指標
30日以内にマージされた PR はありません

説明

Visual Studio Code 1.41.1 (Windows 10 Enterprise x64)
Debugger for Firefox 2.6.1
Angular Cli 1.7

When trying to debug an angular application started via 'ng serv' and starting the 'Launch localhost' it throws:
**Unable to open 'main.bundle.js':Unable to read file (Error: File not found
(c:\Users\rcoleman\src\vs2019\P\Client\main.bundle.js)).**

Going to http://localhost:4200/main.bundle.js resolves correctly.

I believe this may be due to the fact that starting the angular application from **ng serve** serves the application from memory and _not_ from files on the disk.

The 'Debugger for Chrome' VS Code extension is able to properly function. What can I do to resolve this issue in the Firefox extension?

Thanks.

コントリビューションガイド

コントリビューションガイドを開く

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

調査の方向性

VS Code 1.41.1、Angular CLI 1.7、`ng serve`、および Firefox 拡張機能の `Launch localhost` 構成で障害を再現します。localhost:4200 で提供されるメモリ内の `main.bundle.js` の処理を、動作する Chrome 拡張機能と比較します。Firefox のデバッグで、ファイルが見つからないエラーなしに Angular アプリケーションを開いてマッピングできれば完了です。

索引モデルが issue の本文から書いたものです。

評価

技術スタック
angular, typescript, vscode
領域
devtools, tooling
issue の種類
バグ
難易度
4/5
見積もり時間
3〜5日
活発さ
停滞
明瞭さ
おおむね明確
初心者へのやさしさ
35/100

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。