bugfix: 'indexOf' for tuple fields works
debugger improvements
fixes #358