I was trying to setup debugging for a solution with two ASP.NET projects, one is am MVC 5 project, the other a WebApi 2 project. There is also a third shared library. What I am trying to achieve is a similar behavior as in Visual Studio, where a single click would fire both the API project and the Web project in IIS Express with the debugger attached, and start a browser with both sites as tabs.
I managed to get pretty far. I created two build configs for .NET executables setup to spawn the iisexpress.exe process with the right path and port for the sites. I also chose to create a third config to start chrome and pass in the two urls. Finally, I've added a compound config to fire up all build configs. This works fine for running the site, but I cannot figure out how to attach the debugger.
It seems that compound configs cannot start with a debugger attached. Am I right?
Even so, just starting one of the two sites in debug mode does not trigger any breakpoints. By looking at the csproj files, in those projects, there seems to be a special parameter that needs to be passed to correctly debug iisexpress sites. This parameter is not documented in the command-line interface for iisexpress.
Is there any possible way to get this working without depending on an explicit support from Rider in the form of a new ".NET IIS Express project" build configuration?