Skip to Content
Author's profile photo Danilo Kasparian

How to debug add-ons on Browser Access

Hello everyone,

I notice that many people are facing difficulties to debug an add-on using B1 on browser, the problem starts when the server is not the computer you are developing your application.

I would like to share how I could debug the add-on on another server, this is not really convenient but at least you can debug specific issues that you may have.


After developing your application, create the installer using the Extension Manager

If you don`t know how to create them, here some links to help you

How to Package and Deploy SAP Business One Extensions for Lightweight Deployment

Extension Package Tool and Extension Manager

You should install the add-on as you usual do and assign for the companies you want


Now, the tricky part

First, check if your server contains the Remote debugger, usually in this path (Check your Visual Studio version)

C:\Program Files (x86)\Microsoft Visual Studio 12.0\Common7\IDE\Remote Debugger

If your server doesn`t have it, copy the Remote Debugger and paste somewhere in your server


Run your msvsmon application as administrator according to your SO x64; x86


Open the B1 on browser and run your add-on, I used the “NEW UI DI Connection” sample, it comes with SDK installation


Important: Open your add-on project as administrator

Find the sub-menu “Attach to Process” under “Debug” menu


Find the add-on process in your server, don`t forget to set the server in the “Qualifier” field


Now you finally will be able to debug


The problem here is that every time you change anything in your code, you will need to install the add-on again, but I believe that this case should be used only to fix issues that you have on the browser, I wouldn`t do any full development using this way.


Please leave your feedback and if you have any suggestions on how to debug on browser, share with us as we all benefit from that.


That’s all, hope it helps.



Danilo Kasparian

Assigned Tags

      You must be Logged on to comment or reply to a post.
      Author's profile photo Ralph Oliveira
      Ralph Oliveira

      Very good content, Danilo!

      Sharing your experience is really appreciated!

      Author's profile photo Danilo Kasparian
      Danilo Kasparian
      Blog Post Author

      Thanks for the feedback!

      Author's profile photo Diego Gutierrez
      Diego Gutierrez

      Nice and thanks for share your knowledge.