-
Notifications
You must be signed in to change notification settings - Fork 12k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Source Code showed in Browser Developer Tools is showing instrumented source code. #1798
Comments
We had an issue with sourcemaps but it should be solved in the next release (or in master if you want to try). If not, please tell me so I can reopen this issue. |
I just tried It on master and it is not solved. It's related to instrumentation. The only way i think we have to solve this is to have an option to turn of the instrumentation, like I proposed with the debug argument on test tasks in the pull request. |
I had a similar problem. My version is "angular-cli: 1.0.0-beta.11-webpack.2". |
This does not occurred to me using master angular-cli. The latest version published in npm is old and may have this issue. Try install angular-cli form master and create a app. After that change the package.json updating the angular-cli dependency to point to github master also (check the revision number and use the same version) of the angular-cli installed globally. |
@abner so is this fixed for you? |
no @filipesilva . it isn't fixed. |
I am still seeing this issue. When running 'ng test' the non spec files aren't displaying the sourcemapped content.
|
Same here - beta.17 on mac... can't debug through source from spec's |
Angular cli 1.1.1
in the browser -> Debug -> developer tools / sources -> cmd+p -> |
We seem to have a regression in unit test sourcemaps, investigating in #6583. |
This issue has been automatically locked due to inactivity. Read more about our automatic conversation locking policy. This action has been performed automatically by a bot. |
Ubuntu 16
ng --version
. If there's nothing outputted, please runin a Terminal:
node --version
and paste the result here:angular-cli: local (v1.0.0-beta.11-webpack.2, branch: master)
node: 6.3.0
os: linux x64
do on your code? etc.
When trying to debug my tests the source code mapped is showing illegible because of the instrumented code needed for the coverage report feature.
As seen in the screenshot bellow:
I think we could have an argument
debug
which we would pass to the ng test task which will not run the coverage config parts and, this way, debug will be possible.I already have this implemented here and will submit a merge request for that.
more information.
The text was updated successfully, but these errors were encountered: