About
ccc_debugger is debugging tool that can be used to troubleshoot certain error in Adobe Creative Cloud Connector.
ccc_debugger is used to run the underlying logic of the DACCC(js-sdk) in a browser in order to inspect network calls, console outputs and possible errors or exceptions.
Requirements
- NodeJS 10.16.0 or newer (https://nodejs.org/en/)
Installation
ccc_debugger is available with every version of DACCC 2.0.9 or higher on swinstall.
Simply follow the steps below:
- Download and unpack the archive on your desktop.
- Navigate to folder `ccc_debugger/public`, find the `config.sample.js` and rename it to `config.js`.
- Open the file `config.js` and set the correct apiUrl, username and password.
Usage
- Find the file `ccc_debugger/ccc_debugger.cmd` and run it.
- A new browser will open with a list of debugger to choose from. Select the desired one by clicking on it.
Debuggers
While the debuggers will try to output as much information as possible in the webpage, it might be needed to manually inspect the browser console and network requests for additional information.
Sanity Check
sanity check is a simple debugger that, using the configurations provided, will try to create an instance of the connector. This debugger can be used to catch commonly occurring problem like connection issues, invalid credentials, insufficient roles or permissions, and configurations. For most cases this is the only debugger you need
Output example of sanity_check in case the user does not have the correct roles and permissions.
Sanity Check SSO
sanity check sso is a debugger similar to sanity check, with only difference being that it will authenticate the user using SSO, instead of the provided username and password in the config.js file.
Output of sanity checker sso, once the login URL is generated.
When opening the debugger, wait until a link appears under the title. Once the link is generated, press on it in order to be redirected to the SSO login page. If the login is successful, you will be redirected back to the debugger page, where the rest of the sanity flow will be executed.
Output of sanity checker sso, once the user authenticated.
Upload Checker
upload checker is a debugger that can be used to debug the upload functionality of DACCC. When opening the debugger, wait for the file upload button to be enabled. Once it is enabled you can proceed to upload one fo more files.
Output example of upload checker, once the upload button is enabled.