-
Notifications
You must be signed in to change notification settings - Fork 29k
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
Generated sourcemaps in vscode build are broken. Blocks debugging vscode sourcecode with source maps #18363
Comments
@isidorn Did you look into this? |
The problem is not the |
The issue seems to appear during minification. Bundling, which happens right before minification, still keeps sane sourcemaps. |
And when I build it locally, it actually works. What. |
@joaomoreno make sure you do a clean npm install of all modules, I noticed this yesterday only on linux, |
Yup, cleaned, reinstalled, rebuilt. I still get good results on my machine. Will look into the build machine what's up. |
@joaomoreno I did not look into this, I decided to go with js debugging as everyone in the team seems to be doing that. |
This is super weird. I just rebuilt on our build machine and it works... |
And I just realised @nojvek might just be talking about the dev build not the production build. |
I won't have time to look into why this broke any time soon. @Microsoft/vscode if someone wants TS debugging, please look into this. |
Found the issue. Well, found a fix. The issue is that no one understands sourcemaps. Neither do we nor anyone who develops libraries for sourcemaps. |
Thanks. I'll update my sources.
…On Wed, Jan 11, 2017 at 2:57 AM João Moreno ***@***.***> wrote:
Found the issue. Well, found a fix. The issue is that no one understands
sourcemaps. Neither do we nor anyone who develops libraries for sourcemaps.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#18363 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AA-JVO6R2bcN_sCduHlJTAELHu410VJOks5rRLWTgaJpZM4Lfo1V>
.
|
After building .js.map files aren't emitting the right information
This should be
sources should be ts files and sourceRoot should not include src folder. This was working in december but I can no longer debug vscode source with source maps enabled.
I looked into build/lib/compilation.ts to see if I could figure it out. The build system looks quite complicated than what I am used to.
As a work around I am just going oldschool and debugging js files. Its a painful experience but gets the job done.
The text was updated successfully, but these errors were encountered: