Question Basil Eldhose · Apr 25, 2024

How to debug with VSCode

This question originally appeared in the comments of the post: IDE platform for beginners
 

Hello All,

Visual studio code doesn't allow debugging of code or running of code as far I can see. Since I am new, could someone guide me on this. 

Thanks 

Comments

Basil Eldhose · Apr 28, 2024

Thanks, I will try it out tomorrow and get back. Do we need any paid license from Deltanji for this to work?

0
John Murray  Apr 29, 2024 to Basil Eldhose

Please explain how Deltanji (source control from George James Software) is involved. Perhaps you mean the Serenji extension, also from George James Software. Previous answers on this thread, including mine, have assumed you're using the InterSystems ObjectScript extension, not Serenji.

0
Basil Eldhose · Apr 29, 2024

Sorry, I was using Serenji to connect to code. 

0
Basil Eldhose · Apr 29, 2024

When I tried connecting through object script( I hope I tried using that, still a newbie) it gave an error message check sufficient privilege in atelier web application. 

0
Basil Eldhose · Apr 30, 2024

Thanks John.  I was able to connect and debug using object script. 

I am trying to run unit test and not able to run it. I am using %UnitTest.TestCase . This comes up in Testing. But on running says Failed to launch testing. Could you please help me with that as well 

0
Basil Eldhose · May 7, 2024

Thanks John and Luis. For people who are looking for answers this can be done using launch.json file. If you have any other extensions installed like Serenji, they would block your request. So have them disabled and only use intersystem extensions.

I haven't figured out  "running test" part.

0
John Murray  May 8, 2024 to Basil Eldhose

The Deltanji extension is fully compatible with the InterSystems ObjectScript extension. It is only the Serenji one whose debugging component clashes. 

0
Basil Eldhose  May 8, 2024 to John Murray

Have updated my response. Thanks

0
Basil Eldhose · May 8, 2024

I was also able to run tests after setting up the project using client side paradigm. 

0