diff --git a/BuildProfile.ets b/BuildProfile.ets index 3b7bc46..b64c9ce 100644 --- a/BuildProfile.ets +++ b/BuildProfile.ets @@ -2,8 +2,8 @@ * Use these variables when you tailor your ArkTS code. They must be of the const type. */ export const HAR_VERSION = '1.0.3'; -export const BUILD_MODE_NAME = 'release'; -export const DEBUG = false; +export const BUILD_MODE_NAME = 'debug'; +export const DEBUG = true; export const TARGET_NAME = 'default'; /** diff --git a/src/main/ets/http/HttpHelper.ts b/src/main/ets/http/HttpHelper.ts index 80b548c..bea5f8d 100644 --- a/src/main/ets/http/HttpHelper.ts +++ b/src/main/ets/http/HttpHelper.ts @@ -221,6 +221,7 @@ export class HttpHelper { ...params.headers } console.log('=====>', 'GET:', this.getUrl(params.url, params.query)) + console.log('=====>', 'header:', JSON.stringify(header)) httpRequest.request(this.getUrl(params.url, params.query), { method: http.RequestMethod.GET,