My project is based on a WCF Web Service, and whilst debugging, it's launching the WCF Test Client. When I come across an error, rather than breaking in code at the particular point, it's just reporting the error back to the WCF Test Client.
I'd like it to break in code, so I can debug and watch which records it's breaking on. This used to happen, but suddenly it stopped working. I don't know if it's something I've disabled in web.config.
The Project Web Server is still set to IIS Express (localhost:#####), and I have other projects using the WCF Test Client, which are breaking in code just fine.
<?xml version="1.0"?>
<configuration>
<configSections>
<sectionGroup name="applicationSettings" type="System.Configuration.ApplicationSettingsGroup, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" >
<section name="ConnectorService.Properties.Settings" type="System.Configuration.ClientSettingsSection, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" requirePermission="false" />
</sectionGroup>
</configSections>
<appSettings>
<add key="aspnet:UseTaskFriendlySynchronizationContext" value="true" />
</appSettings>
<system.web>
<compilation debug="true" targetFramework="4.5" />
<httpRuntime requestValidationMode="2.0" targetFramework="4.5"/>
</system.web>
<system.serviceModel>
<behaviors>
<serviceBehaviors>
<behavior>
<serviceMetadata httpGetEnabled="true" />
<serviceDebug includeExceptionDetailInFaults="true"/>
</behavior>
</serviceBehaviors>
</behaviors>
<serviceHostingEnvironment aspNetCompatibilityEnabled="true" multipleSiteBindingsEnabled="true" />
</system.serviceModel>
<system.webServer>
<modules runAllManagedModulesForAllRequests="true"/>
<directoryBrowse enabled="true"/>
</system.webServer>
<applicationSettings>
<ConnectorService.Properties.Settings>
<setting name="ConnectionName" serializeAs="String">
<value>Test</value>
</setting>
<setting name="UserName" serializeAs="String">
<value>TestUser</value>
</setting>
<setting name="Password" serializeAs="String">
<value>Password</value>
</setting>
</ConnectorService.Properties.Settings>
</applicationSettings>
</configuration>
I have no idea what it could be, if I can provide more info, just ask, thanks.