Merge tag 'v2.4.0' into develop

Added debugging mode; fixed a namespace error when throwing exceptions
Adding an example for the Debug property
Bumping version to 2.4.1
Merge branch 'release/v2.4.1'