Add template context parameter to associative model mechanism.
Add debug flag back to tool host.
Consolidate debugger launch code.