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
Did you find this in the IRIS documentation?
https://docs.intersystems.com/components/csp/docbook/DocBook.UI.Page.cls...
And you can take a look to this article from @Yuri Marx
https://community.intersystems.com/post/debug-objectscript-code-using-vs...
Thanks, I will try it out tomorrow and get back. Do we need any paid license from Deltanji for this to work?
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.
Sorry, I was using Serenji to connect to code.
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.
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
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.
The Deltanji extension is fully compatible with the InterSystems ObjectScript extension. It is only the Serenji one whose debugging component clashes.
Have updated my response. Thanks
I was also able to run tests after setting up the project using client side paradigm.