|
By default, server-side debugging is disabled. To enable it, you need to: Run REGEDIT Find the line "C:\Program Files\1cv81\bin\ragent.exe" -srvc -agent (taken from the startup parameters of the 1C:Enterprise 8.1 Server Agent service). Append -debug to the end For example. [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\1C:Enterprise 8.1 Server Agent] was "C:\Program Files\1cv81\bin\ragent.exe" -srvc -agent -regport 1541 -port 1540 -range 1560:1591 -d "C:\Program Files\1cv81\server" changed to "C:\Program Files\1cv81\bin\ragent.exe" -srvc -agent -regport 1541 -port 1540 -range 1560:1591 -debug -d "C:\Program Files\1cv81\server" Stop the server, then start the server. Run 1C:Enterprise in the appropriate mode. Select "Tools-Options". Go to the "System" tab, enable "Debugging allowed" and "Set debugging mode at startup". Run the Configurator. Menu "Debug-Connect". Enable the necessary checkboxes in "Automatic connection". |
Enabling debugging on the 1C server
By default, debugging on the server is disabled. To enable it, you need to: Run REGEDIT Find the line "C:\Program Files\1cv81\bin\ragent.exe" -srvc -agent (taken from the startup parameters of the 1C:Enterprise 8.1 Server Agent service). Append -debug to the end. For example, [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\1C:Enterprise 8.1 Server Agent] "ImagePath" was...

Note: This post may be AI-assisted and then human-edited. Editorial responsibility: Dmytro Lomaka, Kaltenkirchen.