5

When running webdev serve and attempting to debug an error. I do not see any dart source code or .js.map files in order to debug it.

What could be wrong? This is a fresh angulardart project using the latest Dart 2, and webdev 0.2.4

2
  • 1
    Do you have any build.yaml or build.xxx.yaml file that disables source maps? Do you have source maps enabled in the Chrome devtools settings? Commented Aug 21, 2018 at 8:13
  • I do have source maps enabled. I do not have a build.yaml file @GünterZöchbauer Commented Aug 21, 2018 at 8:14

1 Answer 1

7

It's way too hard to do this now. I just opened an issue on it. In the meantime, try this in build.yaml:

global_options:
  build_web_compilers|dart_source_cleanup:
    release_options:
      enabled: false
  build_web_compilers|dart2js_archive_extractor:
    release_options:
      filter_outputs: false
Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.