Enabling debugging mode in any user session

While performing some complex operations during business processes, a user may encounter an error in the end. The time-consuming and difficult nature of reproducing such bugs after activating the debugging tools in Designer mode can prevent both the user from documenting the bug and the developer from creating a solution in a short time. The 1C:Enterprise platform provides a setting where debugging capabilities can be integrated into any session at any moment, eliminating the need to reproduce all steps for an error to occur.

Steps

  1. Open the infobase in 1C:Enterprise mode.
  2. Go to Service and settings > Settings > Options...

    1711212178533-678.png
     
  3. Set Debug in current session to enable debugging right away:
    • Not allowed: Disables debugging for the current session.
    • Allowed (TCP/IP): Connects to the debug server over TCP/IP protocol. Convenient choice if the infobase is opened in File mode.
    • Allowed (HTTP): Connects to the debug server over HTTP protocol. Server address and port need to be specified.
  4. Set Debugging at restart to automatically enable debugging during future sessions.
  5. Recreate the error that occurred previously.
  6. Click Details... button in the error window.

    1711218282978-298.png
     
  7. Make sure that the infobase is open in Designer mode on the local machine or on the server.
  8. Then click the Designer... button to navigate to the faulty line in the code.

    1711218476228-724.png
Icon/Social/001 Icon/Social/006 Icon/Social/005 Icon/Social/004 Icon/Social/002