OnePlus one is charging but is recognized in device manager only when in debug mode
Are you using the red/white cable that came with the device? Most standard USB cables are not capable of file transfer, and so will not be recognized with Windows.