Skip to content
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

Debug TS files not working in Chrome #205

Closed
Marty070 opened this issue Apr 7, 2017 · 2 comments · Fixed by #206
Closed

Debug TS files not working in Chrome #205

Marty070 opened this issue Apr 7, 2017 · 2 comments · Fixed by #206

Comments

@Marty070
Copy link

Marty070 commented Apr 7, 2017

Hi,

I've followed the setup steps in the readme. Everything works as expected, except when I select a .ts file in the Chrome debugger it shows up empty. It looks like that it has something to to with the source mapping, maybe a config issue?

update it does work when I manually change the js.map file, adding an extra '/' before the relative path to the .ts file. e.g. '{"version":3,"sources":["/app/todolist/todolist.component.ts"] ... however, when I restart npm start it will overwrite these changes. Any thoughts? Thanks!

@antonybudianto
Copy link
Owner

@Marty070 , I'll take a look at it when I'm free, thanks for the report!

@Marty070
Copy link
Author

This fix works, thanks a lot!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants