Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@sc2107
Copy link

@sc2107 sc2107 commented Dec 11, 2025

This PR fixes Issue #1373 by wrapping the Debug-only Playwright launch options
in LoginStepDefinitions.cs with templating ignore comments (//-:cnd:noEmit
and //+:cnd:noEmit) so they are preserved when generating a new solution
from the template.

The change ensures that the #if DEBUG block remains in generated projects,
allowing developers to see Playwright run in headful mode during debugging.

…1373)

This PR fixes Issue jasontaylordev#1373 by wrapping the #if DEBUG block in LoginStepDefinitions.cs
with //-:cnd:noEmit and //+:cnd:noEmit to prevent the .NET templating engine from
removing it when generating new projects.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant