Skip to content

I've lost all debug (stdout, breakpoints) since migrating my RNW UWP app to a WAP project. Is there a way to get debug back? #14004

Closed Answered by shirakaba
shirakaba asked this question in Q&A
Discussion options

You must be logged in to vote

Finally found it by studying the New Architecture C++ app template (after learning that it, too, is a WAP project):

By following the 2021 guide, I'd been missing these two crucial lines:

<DebuggerType>NativeOnly</DebuggerType>
<BackgroundTaskDebugEngines>NativeOnly</BackgroundTaskDebugEngines>

It looks like the guide's sample project had been missing those lines, too:

https://github.com/microsoft/react-native-windows-samples/blob/5cc852a7838ff5183e7272201c7e3f6e0f384507/samples/AppServiceDemo/windows/appservicedemo.Package/appservicedemo.Package.wapproj#L…

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by shirakaba
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
1 participant