Incorrect sourceMappingURL added to generated server bundle prevents debugging
See original GitHub issueUpdated my gist with patch to use sourcemap: 'inline'. This solves the issue.
Here’s the gist: https://gist.github.com/kiliman/a9d7c874af03369a1d105a92560d89e9
Issue Analytics
- State:
- Created 2 years ago
- Reactions:7
- Comments:10 (2 by maintainers)
Top Results From Across the Web
VS Code: "Breakpoint ignored because generated code not ...
I solved my problem by changing .vscode/launch.json so that ... is to turn on debugging trace by adding the following line in launch.json....
Read more >4 Reasons Why Your Source Maps are Broken - Sentry Blog
Source maps are awesome. Namely, because they are used to display your original JavaScript while debugging, which is a lot easier to look...
Read more >source-map-explorer - npm
Analyze and debug JavaScript (or Sass or LESS) code bloat through source maps. The source map explorer determines which file each byte in ......
Read more >Stop Painful JavaScript Debug and Embrace Intellij ... - Medium
Webpack can generate source map for a production environment in an optimized way. The debug configuration in IntelliJ is a bit different with...
Read more >Showing full stacktraces - Bugsnag docs
In addition to standard bundles, the Random Access Modules (RAM) bundle ... maps used for the debug variant can be downloaded from the...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found

By the way, you can also make breakpoints work by doing something like this in your launch.json within VS Code:
Aside from having to fix the
route:this is fairly ‘idiomatic’, though not easy to discover unless you’re a sourcemapexpert… https://github.com/microsoft/vscode-js-debug/issues/1214@heiso Are you on the latest Remix? Sourcemaps should automatically generate in development. You have to opt-in to sourcemaps for production
remix build --sourcemapThey removed the sourcemap option in remix.config