python: Make --debugger imply --debug

This commit is contained in:
Emilio Cobos Álvarez 2016-11-12 21:35:31 +01:00
parent 5746a942c6
commit 157c1674ed
No known key found for this signature in database
GPG key ID: 056B727BB9C1027C

View file

@ -59,6 +59,10 @@ class PostBuildCommands(CommandBase):
env = self.build_env()
env["RUST_BACKTRACE"] = "1"
# Make --debugger imply --debug
if debugger:
debug = True
if android is None:
android = self.config["build"]["android"]