I may have been a bit unprecise on what I was trying to achieve here.
It quite literally needed one ! to enable debug mode for pokemon and another ! to enable debug mode for items and other settings.
These changes are located at PokemonParty line 1909 (thank you Waynolt) and I found the other at PokemonPauseMenu line 143.