Here is an interesting possible solution. Apparently SPM doesn't build debug versions if your active configuration does not have the word debug, without spaces. Details here: https://forums.swift.org/t/update-swiftpm-to-support-custom-configuration-names/43075/12