Added --debug for basic debugging

- Added debugging for network traffic
- Added debugging for external commands run