STABLE VERSION: the debug option works on the cpu and gpu versions with no errors and is included in README.txt