Closed sakataa closed 7 years ago
If you look in your webpack.config.js
, you'll probably find that SourceMapDevToolPlugin
is only used in the clientBundleConfig
and not in the serverBundleConfig
. It might be sufficent to add SourceMapDevToolPlugin
to your serverBundleConfig
too.
hi @SteveSandersonMS, thank for your response. But I still not get original source when debugging. I configured devtool: 'source-map' in webpack config and use reactredux template. Could you please help me?
I want to debug boot-server.tsx but can not see original source code for debugging. I follow by docs here: https://github.com/aspnet/JavaScriptServices/tree/dev/src/Microsoft.AspNetCore.SpaServices#debugging-your-javascripttypescript-code-when-it-runs-on-the-server
Could everyone help me?