-
Notifications
You must be signed in to change notification settings - Fork 1.7k
source maps aren't requests when running via pub serve #16472
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
Comments
FWIW here's what it looks like when I just "run as javascript" Attachment: |
(notice the talk_to_me.dart.js.map request) |
"pub serve" just starts an HTTP server. The browser is responsible for whether or not it requests a given file. Can you manually request the source map file? |
Looks like pub serve isn't adding the trailing comments to the end of the app.dart.js file. The comments tell the dev tools about source maps. Something like this: //# sourceMappingURL=/path/to/file.js.map To verify, run dart2js from the command line and check out its output. Attachment: |
This issue has been moved to dart-lang/pub#839. |
I don't see a source map file being sent, when serving my app over pub serve.
See screenshot.
I was hoping to debug via source maps when using pub serve ?
Attachment:
[Screen Shot 2014-01-31 at 4.23.31 PM.png](https://storage.googleapis.com/google-code-attachments/dart/issue-16472/comment-0/Screen Shot 2014-01-31 at 4.23.31 PM.png) (53.69 KB)
The text was updated successfully, but these errors were encountered: