Swede dear, what's a buyDebug menu and how do you access? Please and thank you.
Oh, sorry for not explaining properly.
It's a special cheat buy menu where you can buy stuff you can't normally do.
You can access it by first clicking ctrl-shift-c and type "testingcheatsenabled true" (minus the quotations) in the window that appears. Click on enter to accept the cheat. Now, bring up that window again and type "buyDebug on". If you now look in the buy menu and sort by function, a new category marked with a ? should have appeared. In that, and in the proper submenu, you can find the gnomes and a whole bunch of other cool things!