Skip to content

Commit e482176

Browse files
authored
fix(debug): Fix breakpoints in the debug build. (#548)
Breakpoints in VS and VSCode do not work with anonymized paths, so this limits that to the release build.
2 parents 672e956 + 2ddfd09 commit e482176

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Directory.Build.props

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<Project>
22
<PropertyGroup Label="Normalise stack trace file locations">
3-
<PathMap>$([System.IO.Path]::GetFullPath('$(MSBuildThisFileDirectory)'))=.</PathMap>
3+
<PathMap Condition="'$(Configuration)'=='Release'">$([System.IO.Path]::GetFullPath('$(MSBuildThisFileDirectory)'))=.</PathMap>
44
</PropertyGroup>
55
</Project>

0 commit comments

Comments
 (0)