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

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

Open
#174 5 comments 0 reactions 0 assignees View on GitHub
needs more info
Dominant language
TypeScript
Stars
447
Forks
76
PR merge metrics
No merged PRs in 30d

Description

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.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.