Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
adoconnection authored Nov 17, 2023
1 parent 22d59bb commit b4d64d2
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -92,8 +92,7 @@ Console.WriteLine(result);
```

#### Debugging
Compile template with ```IncludeDebuggingInfo()``` option and call ```EnableDebugging()``` before running template
If template was compiled with ```IncludeDebuggingInfo()``` option, saveing and loading will keep original template source code and pdb.
Compile template with ```IncludeDebuggingInfo()``` option and call ```EnableDebugging()``` before running template. If template was compiled with ```IncludeDebuggingInfo()``` option, saveing and loading will keep original template source code and pdb.
```cs
IRazorEngineCompiledTemplate template2 = razorEngine.Compile(templateText, builder =>
{
Expand Down

0 comments on commit b4d64d2

Please sign in to comment.