Below is the required code to spawn in items using the console command box. '!' represents the number of items spawned and '***' represents the spawn code of said item.
for x=1, ! do DebugSpawn ("***")end
The items will appear at your mouse cursor after you press the 'Enter' key. Leave the console command box by pressing 'Ctrl + L'.