Steps outlining how to run MCAD locally from your IDE / debugger.
- Ensure you are authenticated to your Kubernetes/OpenShift Cluster.
- Copy the launch.json.template file and save it as
launch.json
in the.vscode
folder in the root of your project. This can be done by running the following commands in the root of your project:
mkdir --parents .vscode
cp --interactive doc/usage/debugger/launch.json.template .vscode/launch.json
- In the
launch.json
file, update theargs
sections with the path to your kubeconfig. - In VSCode on the activity bar click
Run and Debug
orCTRL + SHIFT + D
to start a local debugging session of MCAD.
To set the desired log level set --v
, <desired_logging_level>
in the args sections of the launch.json
file.