How to enable debugging of 1C:Enterprise server instance


To enable the debugging the 1C:Enterprise server instance, perform the following steps on the Windows computer where the instance resides:

  1. Stop the 1C:Enterprise 8.3 Server Agent service.

1.png

  1. To run the Registry Editor, press the Windows+R key, type "regedit", and click OK.

2.png

  1. In the Registry Editor, navigate to the [HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Services\1C:Enterprise 8.3 Server Agent\] item.
  2. Find the "ImagePath" item, open it, and add "-debug" to the end of the line.

For example:

Line before changes:

"C:\Program Files (x86)\1cv8\8.3.15.1869\bin\ragent.exe" -srvc -agent -regport 1541 -port 1540 -range 1560:1591 -d "C:\Program Files (x86)\1cv8\srvinfo"

Line after changes:

"C:\Program Files (x86)\1cv8\8.3.15.1869\bin\ragent.exe" -srvc -agent -regport 1541 -port 1540 -range 1560:1591 -d "C:\Program Files (x86)\1cv8\srvinfo" -debug

  1. Save these changes.
  2. Run the 1C:Enterprise 8.3 Server Agent service.

 

Icon/Social/001 Icon/Social/006 Icon/Social/005 Icon/Social/004 Icon/Social/002