Bug: Can not debug a webservice

Steps to reproduce (VS 2017):

  1. Create a new ASP.Net webservice
  2. Set the generated asmx as startup
  3. Place a breakpoint on the Exit “Hello world” line
  4. Start the debug session
  5. Execute the method from the browser - the breakpoint is not hit.

Further information: the breakpoint is invalid after run because no debug information is available:
image

Edit: Open the webservice and attach the debugger to it has the same effect.

I just found the cause: In the generated project, the option Generate PDB Debug symbols is False for the debug build - this should be True by default for debug builds.

Thanks! fixed.