In order for the Micro Focus Enterprise extension to work with .NET Core projects, you need the following software installed:
Before you can debug .NET Core 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, we 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/netcoreapp3.1/demo.exe", "args": [], "cwd": "${workspaceFolder}", // For more information about the 'console' field, see https://aka.ms/VSCode-CS-LaunchJson-Console "console": "internalConsole", "stopAtEntry": false },