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

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

Aperta
#174 5 commenti 0 reazioni 0 assegnatari Vedi su GitHub
needs more info
Lingua principale
TypeScript
Stelle
447
Fork
76
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

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.

Guida per i contributori

Apri la guida per i contributori

Direzione di ricerca

Reproduce the failure with VS Code 1.41.1, Angular CLI 1.7, `ng serve`, and the Firefox extension's `Launch localhost` configuration. Compare its handling of the in-memory `main.bundle.js` served at localhost:4200 with the working Chrome extension; done means Firefox debugging can open and map the Angular application without a missing-file error.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Valutazione

Stack tecnologico
angular, typescript, vscode
Ambito
devtools, tooling
Tipo di issue
Bug
Difficoltà
4/5
Tempo stimato
3-5 giorni
Stato di attività
Ferma
Chiarezza
Abbastanza chiara
Idoneità per principianti
35/100

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.