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
- Open the infobase in 1C:Enterprise mode.
- Go to Service and settings > Settings > Options...

- 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.
- Set Debugging at restart to automatically enable debugging during future sessions.
- Recreate the error that occurred previously.
- Click Details... button in the error window.

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