In order for the Rocket Enterprise extension to work with .NET COBOL projects, you need the following software installed:
Before you can debug .NET COBOL projects, you need to register the COBOL debugging support. You only need to do this once:
This adds the COBOL support to the .NET debugger. If Microsoft's C# extension is not installed, this action will install it as well.
To launch debugging, you must define a launch configuration in the launch.json file.
{
"name": ".NET Core Launch (console)",
"type": "coreclr",
"request": "launch",
"preLaunchTask": "COBOL: dotnet build",
// Specify the executable that should be debugged below
"program": "${workspaceFolder}/bin/Debug/net6.0/demo.exe",
"args": [],
"cwd": "${workspaceFolder}",
// For more information about the 'console' field, see https://aka.ms/VSCode-CS-LaunchJson-Console
"console": "internalConsole",
"stopAtEntry": false
},