Hitting a breakpoint in webpack.config.js ('This breakpoint will not currently be hit') #181

Closed
opened 2025-08-09 17:15:18 +00:00 by fergalmoran · 0 comments
Owner

Originally created by @JohnGoldsmith on 2/9/2018

I've followed the docs here on debugging server side js but am still not able to debug my webpack.config.js file.

services.AddNodeServices(options => {
    options.LaunchWithDebugging = true;
    options.DebuggingPort = 9229;
});

I'm assuming that that the webpack config code is run in the node instance prior to the browser being launched, but is there a good way of using a breakpoint in there?

[In VS 2017 15.5.6]

*Originally created by @JohnGoldsmith on 2/9/2018* I've followed the docs [here](https://github.com/aspnet/JavaScriptServices/tree/dev/src/Microsoft.AspNetCore.SpaServices#debugging-your-javascripttypescript-code-when-it-runs-on-the-server) on debugging server side js but am still not able to debug my webpack.config.js file. ``` services.AddNodeServices(options => { options.LaunchWithDebugging = true; options.DebuggingPort = 9229; }); ``` I'm assuming that that the webpack config code is run in the node instance prior to the browser being launched, but is there a good way of using a breakpoint in there? [In VS 2017 15.5.6]
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github/JavaScriptServices#181
No description provided.