To enable the debugging on wss modify the web.config of the application as follows :
Search for
safemode callstack="false" maxcontrols="200"
change to
safemode callstack="true" maxcontrols="200"
Search for
customerrors mode="On"
change to
customerrors mode="Off"
Search for
compilation debug="false" batch="false"
change to
compilation debug="true" batch="true"
Search for
safemode callstack="false" maxcontrols="200"
change to
safemode callstack="true" maxcontrols="200"
Search for
customerrors mode="On"
change to
customerrors mode="Off"
Search for
compilation debug="false" batch="false"
change to
compilation debug="true" batch="true"