source-maps Questions
0
I'm struggling to debug a js file compiled by Closure Compiler with its corresponding source map file (issue: associated file source code not displayed in Chrome/firefox).
Is there a way with Clos...
Kamasutra asked 6/6, 2017 at 6:10
2
Solved
I am using bug tracking software to report any errors that occur in a web browser but the code on my production site is minified. As a result, debugging is near impossible (variable names are chang...
Bruges asked 2/6, 2017 at 19:19
1
Solved
When do browsers download the sourcemap for a minified file?
I am struggling to find documentation for any browser on if/when they download a minified file's sourcemap (an external file ending in ...
Mccollough asked 1/6, 2017 at 19:19
3
I'm trying to compile from .ts to .min.js as follows:
TS --> ES6 ---> ES5 ---> .min.js + .map
Before I was just doing the following and everything was working fine:
TS ---> ES5 ---...
Cilo asked 15/11, 2015 at 11:17
5
Solved
Background: I am compiling 2 dependent TypeScript files to js, which produces also source maps (one source map per file) using tsc 1.0
I'm using -m commonjs and then use browserify to generate a s...
Chesty asked 4/5, 2014 at 6:2
3
Solved
I use Babel and Google Chrome Developer Tools with JavaScript source maps enabled. Given this code
function myFunc(elements) {
return elements
.map(element => element.value)
.filter(value =&...
Forbid asked 5/6, 2015 at 10:22
1
Solved
Apart from enabling source maps in Chrome, in my gulpfile.js I use errLogToConsole: true, sourceComments: 'map', sourceMap: 'sass' as arguments when calling sass based on this answer:
gulp.task('s...
Ellsworthellwood asked 8/5, 2017 at 7:22
1
Solved
When I have an error on a JS code, I have this kind of stacktrace :
Error while processing route: admin.subscriptions/edit The adapter operation was aborted Error
at n.i (http://test.com/assets/...
Steerage asked 23/4, 2017 at 15:56
1
Solved
I use source map for js files both on production and dev server, so I just load it from the local store. In this case, I use next string at the end of files //# sourceMappingURL=file:////var/www/st...
Hakim asked 20/4, 2017 at 17:25
1
Solved
I'm trying to place breakpoints in transpiled code that has a source map, but every time I press a line to place a breakpoint, it cancels immediately.
Like here:
Is it a problem with the webpa...
Pilothouse asked 13/4, 2017 at 7:23
1
Solved
I have a dependency that is written in TypeScript. The dependency includes source maps and original source in the NPM package. If I set a breakpoint in my code and then step into the dependency, it...
Hamza asked 1/4, 2017 at 1:49
4
I am on Chrome Dev 27, and in the Dev Tools settings checked Disable cache. When I reload a page, Chrome properly reloads all the resources used by map page, including the .js files. However, it do...
Cohesive asked 19/3, 2013 at 16:37
0
eval is one of the types of webpack source-map. As the official doc says,
eval - Each module is executed with eval() and //@ sourceURL. This is pretty fast. The main disadvantage is that it doe...
Dareece asked 23/2, 2017 at 5:18
1
Sometimes we want to get sourcemaps from production server. But we only want developers get those sourcemaps, so there will be some strategy to avoid any other people get sourcemaps, such as limit ...
Cutinize asked 4/1, 2016 at 14:31
0
I'm attempting to debug an issue in my react app, that's only occurring on iOS, in production. I want to utilise a hidden sourcemap so I can debug the app's minified assets in Safari without overtl...
Wicker asked 19/1, 2017 at 13:27
1
Solved
I need to map a location in JSON (or JavaScript object) defined by JSON-pointer to the position in JSON text file as {line,column}. Is there any existing JavaScript library that would do it? Writin...
Fodder asked 8/1, 2017 at 18:4
1
Solved
I am struggling to get my SASS sourcemaps to work correctly. The problem seems to be the "sources" attribute within the sourcemap and how my SASS files are nested.
I have a Gulp task that compiles...
Vivien asked 2/12, 2016 at 17:17
1
Using Visual Studio Code, when I set a breakpoint in my .ts file, it is not hit. (And is not red when I debug).
However, if I set a breakpoint in the compiled JS, then it swaps me to the ts file a...
Beadle asked 6/1, 2017 at 21:26
1
Solved
I'm having spotty debugging experiences when I try to debug code with async/await using transform-async-to-generator babel plugin ( although I've tried almost every other combination ).
Essentiall...
Peruzzi asked 5/1, 2016 at 15:55
1
I would like to report stack traces from uncaught exceptions in my JavaScript app, but the problem is that the included JavaScript is a Browserify bundle. This means that when I obtain the stack of...
Luminal asked 6/12, 2016 at 14:23
3
Solved
I have an es6 project which I bundle using webpack + babel loader.
When I open the devtools I can see 'webpack://' and all my sources (es6) underneath.
The problems are: breakpoints don't hit and ...
Laporte asked 29/8, 2016 at 12:42
1
Solved
Suppose that there is a js file with source-map in subdirectory of a html file.
index.html (uses js/myjs.js)
js/myjs.js
js/myjs.js.map
then which is the sourceMappingURL comment of myjs.js ? ...
Tham asked 18/7, 2016 at 2:57
6
I've written an AngularJS app but it's proving a bit of a nightmare to debug. I'm using Grunt + uglify to concatenate and minify my application code. It also creates a source map alongside the mini...
Militant asked 17/10, 2013 at 7:24
1
Solved
There is the "Show Original Sources" checkbox but it seem not working. I tried to find a way to disable source maps in FF Developer Tools and Firebug but without any success.
BTW: It's easy to d...
Chronopher asked 1/4, 2016 at 13:33
1
I'm using webpack to build my client JS with the devtool: 'source-map' option, so my JS bundle ends in //# sourceMappingURL=app.bundle.js.map. When I open chrome devtools, Chrome shows a "Source Ma...
Medamedal asked 29/4, 2016 at 3:46
© 2022 - 2024 — McMap. All rights reserved.