Tag Archives: Debug

Detect DEBUG build configuration via JavaScript in Windows Store apps

Update (2012-09-29): Now you can use the package WinRT-JsDebugSymbols available via NuGet instead of manually adding the code to your project, and will receive future updates. One of the things I miss when developing Windows Store apps in HTML/JavaScript, is … Continue reading

Posted in JavaScript, NuGet, Windows 8 | Tagged , , , , , , | 3 Comments

Detect if the Debugger is attached via JavaScript in a Windows Store app

There are some cases where we want a block of o code or function to be executed only when we are debugging the application, usually to show detailed error messages that are intended only for the developer to see.

Posted in JavaScript, Windows 8 | Tagged , , , , , | 1 Comment