You probably have to wait until you get into the game to enable the option. This should work as of November 17, 2017.
Looks like it's back to updating this every time it changes. It takes a few seconds to enable the first time you click it.
It may not be totally immune to updates, so let me know if it stops working. This was working for me as of October 16, 2017. I updated the script to try to update itself when they update the game.
I may work on more options, but this should help for those that want to cheat some things. You can find out how to manage your preferences in relation to our use of cookies at Cookie Policy. By using this website, you agree to our use of cookies. You toggle the script and then you can press Shift+F1 in-game to access the debug menu where you can modify many things. Cookies help us deliver our services and provide personalised experiences. I have an option to enable the debug menu in Endless Space 2.