Dear Community,
I am seeking assistance with debugging Terraform CDK using Visual Studio Code. While I have found information on how to debug AWS CDK, I have been unable to locate any resources for debugging Terraform CDK.
Could someone please guide me in creating a debug configuration similar to the following example?
{
"name": "Debug Terraform CDK",
"type": "node",
"request": "launch",
"cwd": "${workspaceFolder}",
"program": "${workspaceFolder}/node_modules/aws-cdk/lib/cli/bin/cdk.js",
"args": [
"synth"
],
"runtimeArgs": [
"--inspect-brk"
],
"sourceMaps": true,
"protocol": "inspector",
"console": "integratedTerminal"
}
Thanks