Changing Developer Portal Settings

You can change the default Developer Portal settings using the portal.settings() method. Pass in an object with the key/value pairs that you want to update.

For example, to turn on debug mode and use the alternative set of icons, you would do this:
portal.settings({
    debug: true,
    icons: 'alternate'
});