Terminal: Git Bash OS: Windows
- Set DEBUGVariable With the value of application module you want to enable logging for, Checkout this string reference for more.
export DEBUG=loopback:core:applicationCan also verify the value with echo
Terminal: Git Bash OS: Windows
DEBUG Variable
With the value of application module you want to enable logging for, Checkout this string reference for more.export DEBUG=loopback:core:applicationCan also verify the value with echo
ENUM Example in Loopback 4 Model
Example file: user.model.ts
enum Role {
  SuperAdmin = 1,
  Admin,
  Subscriber
}| import {Duration, Stack, StackProps} from "aws-cdk-lib"; | |
| import {Construct} from "constructs"; | |
| import {Repository} from "aws-cdk-lib/aws-ecr"; | |
| import {Function, LayerVersion, Runtime} from "aws-cdk-lib/aws-lambda"; | |
| import {ArnPrincipal, Effect, ManagedPolicy, PolicyStatement} from "aws-cdk-lib/aws-iam"; | |
| import {PythonFunction} from "@aws-cdk/aws-lambda-python-alpha"; | |
| import {DockerImageAsset} from "aws-cdk-lib/aws-ecr-assets"; | |
| import * as path from "path"; | |
| import * as ecrdeploy from 'cdk-ecr-deployment'; | |
| import {Secret} from "aws-cdk-lib/aws-secretsmanager"; | 
| find . -name "node_modules" -exec rm -rf '{}' +; find . -name "package-lock.json" -exec rm -rf '{}' +; |