Buydebug

buydebug is a cheat code present in The Sims 3 and The Sims 4. It allows the player to access objects not normally visible in buy mode (or build mode, in The Sims 4).
==The Sims 3==
To activate the cheat, the player must first enable testing cheats by opening the cheat box and typing in testingCheatsEnabled true. They then must type buydebug on. A box with a question mark will appear in the buy mode catalog that contains all of the game's debug objects. To turn it off, enter in the same cheat and instead of "on", add "off". Technical objects that are used to forcibly hide rooms or levels, construct logic systems for triggering objects like doors or traps in tombs, and spawners can be found both in the catalog and visibly in the game world while this cheat is active.
This gives access to some objects that aren't otherwise available in buy mode, such as spawners, most shells, the fog emitter, the show stage, billboards, and more.
Buydebug items can also be placed in an object collection, which makes them available for the player without having to type in cheat codes.
==The Sims 4==
Like The Sims 3, the player must enable testing cheats (using testingCheats true) before activating a buydebug cheat.
There are two codes available, bb.showHiddenObjects and bb.showLiveEditObjects. The first one allows players to access hidden (yet functional) objects, such as fishing pond markers, collectables, and craftable objects. The second one, added in Patch 82, allows players to build using almost any decorative world object, such as plants that are not available in the catalog, full-sized cars, and building shells. There seems to be no way to manually turn off the cheats. However, they automatically turn off once the player moves to a different game mode and returns to build mode.
Some debug objects have names, allowing for easy searching, but most are just called "**DEBUG**". Debug objects also cannot be copied. It is recommended to place multiple objects before scrolling elsewhere in the catalog, in case multiple will be needed later.
Category:The Sims 3
Category:The Sims 4