Title: Newly created project doesn't work with docker and debug in Chrome extension in VSCode - sourcemap problem · Issue #7076 · angular/angular-cli · GitHub
Open Graph Title: Newly created project doesn't work with docker and debug in Chrome extension in VSCode - sourcemap problem · Issue #7076 · angular/angular-cli
X Title: Newly created project doesn't work with docker and debug in Chrome extension in VSCode - sourcemap problem · Issue #7076 · angular/angular-cli
Description: Bug Report or Feature Request (mark with an x) - [x] bug report -> please search issues before submitting - [ ] feature request Versions. _ _ ____ _ ___ / \ _ __ __ _ _ _| | __ _ _ __ / ___| | |_ _| / △ \ | '_ \ / _` | | | | |/ _` | '__|...
Open Graph Description: Bug Report or Feature Request (mark with an x) - [x] bug report -> please search issues before submitting - [ ] feature request Versions. _ _ ____ _ ___ / \ _ __ __ _ _ _| | __ _ _ __ / ___| | |_ _...
X Description: Bug Report or Feature Request (mark with an x) - [x] bug report -> please search issues before submitting - [ ] feature request Versions. _ _ ____ _ ___ / \ _ __ __ _ _ _| | __ _ _ __ / ___| | |...
Opengraph URL: https://github.com/angular/angular-cli/issues/7076
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Newly created project doesn't work with docker and debug in Chrome extension in VSCode - sourcemap problem","articleBody":"\u003c!--\r\nIF YOU DON'T FILL OUT THE FOLLOWING INFORMATION YOUR ISSUE MIGHT BE CLOSED WITHOUT INVESTIGATING\r\n-->\r\n### Bug Report or Feature Request (mark with an `x`)\r\n```\r\n- [x] bug report -> please search issues before submitting\r\n- [ ] feature request\r\n```\r\n\r\n### Versions.\r\n\u003c!--\r\nOutput from: `ng --version`.\r\nIf nothing, output from: `node --version` and `npm --version`.\r\n Windows (7/8/10). Linux (incl. distribution). macOS (El Capitan? Sierra?)\r\n-->\r\n ```\r\n _ _ ____ _ ___\r\n / \\ _ __ __ _ _ _| | __ _ _ __ / ___| | |_ _|\r\n / △ \\ | '_ \\ / _` | | | | |/ _` | '__| | | | | | |\r\n / ___ \\| | | | (_| | |_| | | (_| | | | |___| |___ | |\r\n/_/ \\_\\_| |_|\\__, |\\__,_|_|\\__,_|_| \\____|_____|___|\r\n |___/\r\n@angular/cli: 1.2.2\r\nnode: 6.10.3\r\nos: linux x64\r\n@angular/animations: 4.3.1\r\n@angular/common: 4.3.1\r\n@angular/compiler: 4.3.1\r\n@angular/core: 4.3.1\r\n@angular/forms: 4.3.1\r\n@angular/http: 4.3.1\r\n@angular/platform-browser: 4.3.1\r\n@angular/platform-browser-dynamic: 4.3.1\r\n@angular/router: 4.3.1\r\n@angular/cli: 1.2.2\r\n@angular/compiler-cli: 4.3.1\r\n@angular/language-service: 4.3.1\r\n```\r\n### Repro steps.\r\n\u003c!--\r\nSimple steps to reproduce this bug.\r\nPlease include: commands run, packages added, related code changes.\r\nA link to a sample repo would help too.\r\n-->\r\nNOTE: This workflow works perfectly fine using `@angular/cli` 1.1.0. It breaks when using 1.1.1 and remains broken in the current version.\r\n\r\nI have a sample repo setup here: https://github.com/erlloyd/ng-cli-vscode-error-sample\r\n\r\n1) Make sure you have docker installed\r\n2) Clone the above repo\r\n3) In the repo directory, run `docker-compose build`\r\n4) Run `docker-compose up`\r\n5) Make sure you have VSCode and the 'Debugger for Chrome' extension installed (https://marketplace.visualstudio.com/items?itemName=msjsdiag.debugger-for-chrome)\r\n6) Open the project in VSCode. Set a breakpoint in VSCode. I use line 12 of `app.component.ts`\r\n7) Launch the debugger config in VSCode. It should be called 'launch sample against localhost'\r\n\r\nEXPECTED: the breakpoint becomes active (red) after the page loads (note that it isn't necessarily going to hit the breakpoint due to startup race conditions)\r\n\r\nACTUAL: From ng versions 1.1.1 onward, the breakpoint remains grey with the error: `Breakpoint ignored because generated code not found (source map problem?).`\r\n\r\n### Mention any other details that might be useful.\r\nNote that this only occurs if the project is run through Docker. If I run the project on the local machine the breakpoints are hit without an issue. Could something have changed about where/how the sourcemaps are generated and stored?\r\n\r\nPlease let me know if you want any additional information and / or testing.","author":{"url":"https://github.com/erlloyd","@type":"Person","name":"erlloyd"},"datePublished":"2017-07-21T01:33:27Z","url":"https://github.com/angular/angular-cli/issues/7076"}
| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322 |
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:7a04aaf4-0ab2-50d0-327e-84d03a35f310 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | E218:5D487:BD4479:FB829E:6B01C7CD |
| html-safe-nonce | a10d741823d73b9bd5212d1824a20f3c983a3065502991091e7a95df6954e5dd |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFMjE4OjVENDg3OkJENDQ3OTpGQjgyOUU6NkIwMUM3Q0QiLCJ2aXNpdG9yX2lkIjoiNjkyMDUxMTk3ODcxMjcxMzE2NSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | c7f7862b69a4ba90664c3fd007f5bbf84604d0b775ba492851b4f2ec67f2d368 |
| hovercard-subject-tag | issue:244540610 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/angular/angular-cli/7076/issue_layout |
| twitter:image | https://opengraph.githubassets.com/3232c9afb1597d2099a7a869c0b2d9b0e10721a0a20c723b1b9f693bfa4d7309/angular/angular-cli/issues/7076 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/3232c9afb1597d2099a7a869c0b2d9b0e10721a0a20c723b1b9f693bfa4d7309/angular/angular-cli/issues/7076 |
| og:image:alt | Bug Report or Feature Request (mark with an x) - [x] bug report -> please search issues before submitting - [ ] feature request Versions. _ _ ____ _ ___ / \ _ __ __ _ _ _| | __ _ _ __ / ___| | |_ _... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | erlloyd |
| hostname | github.com |
| expected-hostname | github.com |
| None | cc5dfdd32f62ebd3223cab3af3aa2b268d3605218237326a48a99d1efd89495c |
| turbo-cache-control | no-preview |
| go-import | github.com/angular/angular-cli git https://github.com/angular/angular-cli.git |
| octolytics-dimension-user_id | 139426 |
| octolytics-dimension-user_login | angular |
| octolytics-dimension-repository_id | 36891867 |
| octolytics-dimension-repository_nwo | angular/angular-cli |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 36891867 |
| octolytics-dimension-repository_network_root_nwo | angular/angular-cli |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 8c77c9e8439031ad54c75a250694842892f693e1 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
Viewport: width=device-width