Bump version to 2.4.0
Merge branch 'release/v2.4.0'
Merge tag 'v2.4.0' into develop

Added debugging mode; fixed a namespace error when throwing exceptions