source-maps Questions

1

[Edit] This actually happens on a newly created barebones React+Typescript template ViteJS app as well, with zero modifications. Putting a breakpoint in App.tsx makes the VS Code debugger startup u...
Wimer asked 18/7, 2022 at 0:15

4

Solved

There are two ways to set up sourcemaps: having them hosted on the site and referenced in the bundled files or uploading them directly to a service like sentry. I'm trying to accomplish the latter....
Manned asked 25/9, 2018 at 2:30

3

I'm using webpack v4.16.2 as my bundle tool, and set devtool to 'source-map'. I'm trying to debug the source file through the Chrome sources tab. However, when I click the source file lie down webp...
Craniometry asked 24/2, 2020 at 4:52

1

Solved

I keep reading that source maps are natively supported in Node. But I don't understand how I can use the source maps when printing an error to the console. I have tried running node with --enable-s...
Cytherea asked 17/8, 2022 at 9:46

1

I'm trying to debug a NodeJS app and its related typescript packages linked with npm link. Structure looks like this: /root/package-a # typescript package /root/package-b # another typescript packa...

3

Solved

I would like to attach Angular source code / source map to my generated Angular CLI project, so that I can debug directives like *ngIf in Chrome. Is it possible to somehow attach debugger into ng_...
Madly asked 24/9, 2019 at 7:7

4

Solved

I have a file that has been transpiled from ES6 to ES5 using Babel. I have sourcemap. I am assuming I can restore the original file (the way it looked when written in ES6) using these resources. H...
Wills asked 3/9, 2015 at 19:23

2

I am generating the bundled.js file using webpack for a typical angular project. Now I deploy this on the web server. The bundle.js file has the following at the end //# sourceMappingURL=main.bund...
Necrotomy asked 28/8, 2017 at 0:52

2

Solved

I'm puppeteering (could this be a verb?) an app built with webpack and on page.on('error') I get errors like this: TypeError: __WEBPACK_IMPORTED_MODULE_0_babel_runtime_core_js_promise___default.a....
Tincher asked 25/8, 2017 at 0:20

1

Solved

Tl;dr The VS Code debugger always says Unbound breakpoint but setting break points in chrome dev tools works and opens the respected file in VS Code automatically (after that the VS Code debugger...

2

I am testing a simple todo app in Rust using the YEW framework. When I get an error, the browser console (Devmode) shows JavaScript or assembler (I tried both Chrome and Firefox). How can I get the...
Womanhood asked 6/6, 2018 at 13:14

1

Chrome doesn't pick up the js source map and dumps the error from the original minified source. Source map clearly lays beside the minified js file, with the same name but a .map extension. And the...

2

I believed the npm run serve command use the sourcemap by default for the js, but it seems not because I always see vue.runtime.esm.js:619. I made a vue.config.js file at the root level project. I ...
Pyszka asked 11/1, 2020 at 10:49

2

I'm having an issue where the sourcemaps generated by Webpack using the inline-source-map configuration setting are off by one line when I use the Chrome devtools debugger. Webpack is set up inside...
Enallage asked 22/5, 2014 at 1:40

2

Solved

I have created angular 7 library with ng g library @my-org/some-lib and use it in separate angular app by npm link to be able to develop both app and a library. Now I found that in dev tools I se...
Nepali asked 26/2, 2019 at 18:12

10

Solved

My react folder structure is as below: I haven't used the create-react-app version. I tried using GENERATE_SOURCEMAP=false, but it didn't work. Where can I find the .map files? How can I delete th...
Cremona asked 23/8, 2018 at 10:54

1

Solved

I want to read crashlytics reports from react-native app but it's not readable at all in firebase console. Example crash from Android looks like this: Non-fatal Exception: io.invertase.firebase.cra...
Massotherapy asked 4/6, 2021 at 10:13

3

Solved

Before Google Chrome update I saw source map files at Chrome Devtools on Network tab. Now, after update to version 43.0.2357.134 m I don't see them. Maybe my code is wrong? Or it's done intentiona...
Seafood asked 20/7, 2015 at 18:55

1

Solved

Is it possible to use data-URI source-maps in inline Javascript in HTML script tags? I've tried a few variations on the following HTML, but none of them seem to produce a usable sourcemap for the ...
Blend asked 15/4, 2020 at 18:28

4

I am reverse engineering one magical script. I have an uglified source code and source map generated by uglifyjs. Does anybody know any straightforward way how to achieve at least partly readable ...

2

I have a project which is divided in two part. 1.Typescript project with is compiled to a single javascript file. 2.ASP.NET Core website which use the typescript project for user testing. I am ge...
Stimulate asked 20/3, 2018 at 20:19

2

I have problem with jquery-1.10.2.min.map -- it is downloading about 19-20sec: http://c2n.me/3zJUwuV Only IE is trying to load this file, and i cant find how to disable it. I've tried to delete ....

0

I would like to debug some errors happening during my React development. As you can see I can't see the source files. I am using create-react-app to create my project. I did not change anything els...
Spaceband asked 28/12, 2020 at 23:27

2

I have a JavaScript project that uses Webpack 4 with source maps: mode: 'development', entry: { app: './src/app.js' }, output: { filename: 'app.[contenthash].js', path: outputPath, }, devtool: '...
Snafu asked 30/1, 2020 at 2:35

3

When running an application that is built using webpack 2, sourcemaps are detected in chrome but original source is not loaded. I'm using webpack beta21. These files used to be detected automatica...
Gorham asked 25/8, 2016 at 13:14

© 2022 - 2024 — McMap. All rights reserved.