Useful Console Commands
Here are the console commands useful for modding. If you constantly use one which isn't on this list, please post it
dota_launch_custom_game <addon_name> <map_name>: Launches the map_name inside the addon_name content folder. This avoids having to open the map in hammer, You can disconnect or restart at any point.
entityreport: prints all the spawned entities as a list of index and class

entitysummary: prints a summary with the percentage of each entity class

soundlist: all the sounds playing at the current time, and total memory used

script_help2: shows the list of all the Game API functions

dota_modifier_dump: shows a list of all the modifiers currently applied to every entity

host_timescale <float>: Speeds the game up to that number
host_timescale 10