Fuse 0.20.2, OSX 10.11.5
I’ve done a Fuse app with F#/Fable following the excelent guide by Dave Thomas: http://7sharpnine.com/blog/fable-fuse-template/
Now I’m trying to debug the code with Visual Studio Code. I can debug the JS code normally but it’s not possible to debug the original F# code using source maps. I’ve noticed the debugger doesn’t stop in the actual JS file but in a copy that can’t be edited and is tagged as “core module” (and which btw doesn’t update unless I restart VS Code). Moreover, this copy wraps the original code with the following function:
(function(module, exports, require) { "use strict";
/ Original Code /
//# sourceMappingURL=test.js.map
})
The problem is, as can be seen above, that the comment indicating where the source map can be found is not in the last line any more, so Visual Studio Code cannot detect it.
Would it be possible to fix that?
Thanks a lot for your incredible work with Fuse!