Currently working on a massive project utilizing micro-services. The unique design for clients/tenants requires visiting their specific subdomain to select a particular tenant. For example, https://ClientA.localhost:4200
and https://ClientB.localhost:4200
. Additionally, each product has a different port number.
While attempting to debug, encountered unbound breakpoints and received the following errors in the debug console:
Could not read source map for https://clienta.localhost:4200/polyfills.js: Unexpected 503 response from https://clienta.localhost:4200/polyfills.js.map: getaddrinfo ENOTFOUND clienta.localhost
Could not read source map for https://clienta.localhost:4200/runtime.js: Unexpected 503 response from https://clienta.localhost:4200/runtime.js.map: getaddrinfo ENOTFOUND clienta.localhost
Could not read source map for https://clienta.localhost:4200/main.js: Unexpected 503 response from https://clienta.localhost:4200/main.js.map: getaddrinfo ENOTFOUND clienta.localhost
Could not read source map for https://clienta.localhost:4200/styles.js: Unexpected 503 response from https://clienta.localhost:4200/styles.js.map: getaddrinfo ENOTFOUND clienta.localhost
Could not read source map for https://clienta.localhost:4200/scripts.js: Unexpected 503 response from https://clienta.localhost:4200/scripts.js.map: getaddrinfo ENOTFOUND clienta.localhost
Could not read source map for https://clienta.localhost:4200/vendor.js: Unexpected 503 response from https://clienta.localhost:4200/vendor.js.map: getaddrinfo ENOTFOUND clienta.localhost
Launching https://localhost:4200
will attach, however, the service will not function correctly.
Have tried various browser launching settings, attaching to an existing browser, adjusted TypeScript and Angular settings, experimented with multiple suggested source-map configurations, but unfortunately, nothing seems to work. It's frustrating that I can access (such as)
https://clienta.localhost:4200/polyfills.js.map
and receive a map in response; it just adds insult to injury.
Any suggestions or ideas?