The GetPossibleDebugOptions method of the IRemoteProcessEx interface tells you which flags are supported by the VM that can be changed by SetDebugOptions.
HRESULT GetPossibleDebugOptions(DWORD *pdwPossibleOptions);
[out] *pdwPossibleOptions | Pointer to changeable options. |
GetPossibleDebugOptions returns the possible debug flags that may possibly be modified by SetDebugOptions. This includes all flags except MSJDBG_DISABLE_JIT_COMPILED_CODE_DEBUGGING, MSJDBG_FL_REQUIRE_BYTE_CODE_EXECUTION, and MSJDBG_FL_ENABLE_PROFILING.