add debug as dependency and support more know features

- include debug for debugging (knox is using the same)
- support more know parameters