dev: Empty debug log file instead of deleting it (#2113)
dev: Empty debug log file instead of deleting it (#2113)

Whenever we run the app in debug mode, a `debug.log` file is created
and logs are written to it.
However, if it already exists, it is deleted, preventing any running
code in debug mode from writing to it until it is launched again.

To avoid this annoying situation, we now empty the file.
cozy-labs/cozy-desktop,cozy-labs/cozy-desktop,cozy-labs/cozy-desktop,cozy-labs/cozy-desktop