When using the Anypoint CLI tool one may face a variety of issues (connectivity, etc.) and a need for more verbose information may be necessary to investigate the issue or to be passed to the Support team.
$ export NODE_DEBUG=request,http,axiosExample for Windows Command Prompt
C:\>set NODE_DEBUG=request,http,axiosExample for Windows PowerShell
PS C:\> $env:NODE_DEBUG = "request,http,axios"
> designcenter project upload test1 /opt/tmp/api
REQUEST { method: 'GET',
json: true,
strictSSL: false,
baseUrl: 'https://anypoint.mulesoft.com',
timeout: 60000,
callback: undefined,
url: '/designcenter/api-designer/projects',
headers:
{ 'User-Agent': 'Anypoint-CLI/2.1.0-beta.3',
Authorization: 'bearer 3422ca7c-0fab-xxxxx',
'x-owner-id': '0e7a677b-xxxxxxxxxxx',
'x-organization-id': 'aa5xxxxxxxxxxxxxxx',
'X-ANYPNT-ORG-ID': 'aa51bc87-xxxxxxxxxxxxxxxxx',
'X-ANYPNT-ENV-ID': '549xxxxxxxxxxxxxxxxxxx' },
transform: undefined,
simple: true,
resolveWithFullResponse: false }
REQUEST make request https://anypoint.mulesoft.com/designcenter/api-designer/projects
HTTP 89994: call onSocket 0 0
HTTP 89994: createConnection anypoint.mulesoft.com:443:::::::false: { servername: 'anypoint.mulesoft.com',001114879

We use three kinds of cookies on our websites: required, functional, and advertising. You can choose whether functional and advertising cookies apply. Click on the different cookie categories to find out more about each category and to change the default settings.
Privacy Statement
Required cookies are necessary for basic website functionality. Some examples include: session cookies needed to transmit the website, authentication cookies, and security cookies.
Functional cookies enhance functions, performance, and services on the website. Some examples include: cookies used to analyze site traffic, cookies used for market research, and cookies used to display advertising that is not directed to a particular individual.
Advertising cookies track activity across websites in order to understand a viewer’s interests, and direct them specific marketing. Some examples include: cookies used for remarketing, or interest-based advertising.