Loading and debugging ActiveX in Internet Explorer 8 doesn’t work out of the box.

Open the registry editor and find

HKEY_LOCAL_MACHINE > SOFTWARE > Microsoft > Internet Explorer > Main

Create a TabProcGrowth DWORD value and set it to 0, and debugging works.