Compiler: attach debug to variable declaration

Experiment: attach debug to variable declaration