You can use Visual Studio to debug files that are opened in the IDE without a project. These can be standalone files or such that are opened in the IDE using the Open Folder functionality, Open > Folder.
To debug a file that does not have a project:
You can specify any command line arguments, the start program and the working directory.
If configured in the IDE options (Tools > Options > Micro Focus > Standalone Editing > General), this opens the Debugging Options dialog box. Specify your preferences and click OK.
The IDE enters in debug mode.
If you need to make changes to the code to fix problems, you must recompile before you start debugging again.