To Allow debugging of a Business Connector or Client in axapta you can try following way.
The following options in the Microsoft Dynamics AX Configuration Utility can used to enable breakpoints for a Business Connector instance or a client:
Enable user breakpoints to debug code running in the Business Connector For sessions owned by users for whom debug is enabled within Microsoft Dynamics AX, allow X++ code running in the Business Connector to be interrupted by breakpoints
Enable global breakpoints to debug code running in the Business Connector or client For all users, allow X++ code running in the Business Connector or client to be interrupted by global breakpoints
The following options in the Microsoft Dynamics AX Configuration Utility can used to enable breakpoints for a Business Connector instance or a client:
Enable user breakpoints to debug code running in the Business Connector For sessions owned by users for whom debug is enabled within Microsoft Dynamics AX, allow X++ code running in the Business Connector to be interrupted by breakpoints
Enable global breakpoints to debug code running in the Business Connector or client For all users, allow X++ code running in the Business Connector or client to be interrupted by global breakpoints