I have added the following to my share-custom-config.xml file in order to enable non-minified js for debugging purposes:
<config replace="true">
<flags>
<client-debug>true</client-debug>
</flags>
</config>
This works - however I have discovered that the share admin console (/share/page/console/admin-console/) is now blank. This happens even if my share-custom-config.xml only contains the opening and closing <blockcode><alfresco-config></blockcode> tags - and no other config settings.If however I rename the share-custom-config.xml to something else e.g. my-config.xml, and then wire it up with the following in the custom-slingshot-config-custom.xml file then my js is non-minified, but the admin console is now visible again:
<bean id="custommodel.config" class="org.springframework.extensions.config.ConfigBootstrap" init-method="register">
<property name="configService" ref="web.config"/>
<property name="configs">
<list>
<value>classpath:alfresco/web-extension/my-config.xml</value>
</list>
</property>
</bean>
I suspect this is my lack of understanding as to how the share-custom-config.xml file works and would appreciate some guidance.