Split debug setting. Closes #2247