openfl / hxp

Write scripts in Haxe, and execute them on Windows, macOS or Linux
MIT License
58 stars 19 forks source link

Set_Debug(bool) error #13

Open hoseyjoe opened 5 years ago

hoseyjoe commented 5 years ago

The set debug function accepts value true or false but it set the "-debug" flag either way. Probably should remove the variable or check it before setting the flag. Checking it allow -debug to be cleaned, in case it had already been set, and is probably the better approach.