purple: Fix enabling debug logs

It's possible that the function is called after purple is setup
So enable purple debug when debug is enabled
8 jobs for wip/sadiq/fix-purple-debug in 8 minutes and 55 seconds
Status Name Job ID Coverage
  Build
passed build-pureos-gcc-byzantium #376133
librem5

00:01:54

 
  Test
passed check-po #376140
librem5

00:00:18

passed test:debian-gcc #376134
librem5

00:01:37

20.7%
failed check-po #376135
librem5

00:00:14

 
  Package
passed package-pureos-byzantium #376136
librem5

00:01:43

passed package-pureos-byzantium:arm64 #376137
librem5:arm64

00:05:05

 
  Test Package
passed autopkgtest-pureos-byzantium-package #376138
librem5

00:01:16

passed lintian-pureos-byzantium-package #376139
librem5

00:00:45