I got it wrong from debug's documentation: debug.enable() replaces all namespaces. This means that if you had a package with trifid:something and used trifid:*, trifid:something would print until it enters this package which would enable sparql-proxy instead. What we wanted here was to enable sparql-proxy in addition to already enabled namespaces.
The only way of getting all namespaces is to use debug.disable(): with this PR we retrieve all enabled namespaces and do exactly what I described.
I got it wrong from
debug
's documentation:debug.enable()
replaces all namespaces. This means that if you had a package withtrifid:something
and usedtrifid:*
,trifid:something
would print until it enters this package which would enablesparql-proxy
instead. What we wanted here was to enablesparql-proxy
in addition to already enabled namespaces.The only way of getting all namespaces is to use
debug.disable()
: with this PR we retrieve all enabled namespaces and do exactly what I described.