Stepping through and debugging code in Unit tests
Solution 1:
When using Microsoft.VisualStudio.TestTools.UnitTesting, go to 'Test' in the main menu of VS 2010, click submenu 'Debug' -> 'tests in current context'.
Right-clicking on the test-code and selecting 'run tests' will never start the debugger, not even when mode = debug.
Solution 2:
It's far simpler in Visual Studio 2013. In Test Explorer, select the tests you wish to debug, right-click, and choose debug selected tests.