403
Views
7
Comments
Solved
Can I debug in javascript?

Is it possible to add break point in javascript for debug?

2024-07-05 14-16-55
Daniël Kuhlmann
Ā 
MVP
Solution

No it is not possible to set breakpoint in javascript using OutSystems IDE.

But you can debug the javascript of a mobile outsystems app  in chrome preview mode and also on the mobile device using chrome remote device debugging if you connect the mobile device to your laptop using USB.


2021-06-17 09-01-29
Luís Almeida

You can debug javascript in Google Chrome for example, check this: https://developers.google.com/web/tools/chrome-devtools/javascript/breakpoints

2020-01-07 12-37-37
Manish Kumawat

LuĆ­s Almeida wrote:

You can debug javascript in Google Chrome for example, check this: https://developers.google.com/web/tools/chrome-devtools/javascript/breakpoints


This is not related with Outsystems IDE. I want to debug my Mobile app in outsystem and to add break point in javascript.

2021-06-17 09-01-29
Luís Almeida

You can't put a breakpoint inside your custom Javascript in Service Studio, I would recommend (if you are using a Device to debug) to go here:
chrome://inspect/#devices
And in there you can do it the same way as I said in my first reply

UserImage.jpg
Slavi Popov

This has been answered.

Check this topic, the answer is there.

https://www.outsystems.com/forums/discussion/53692/is-there-a-straightforward-way-of-debugging-cordova-plugins/#Post201476

with regards,
Slavi Popov

2024-07-05 14-16-55
Daniël Kuhlmann
Ā 
MVP

Hi,

You can either first open google chrome dev tools and set the breakpoint, or alternatively use the statement

debugger; 

in your javascript code. This acts as a coded breakpoint, for it to work the devtools need to be open when you test your mobile app in the browser.

Regards,

Daniel

2020-01-07 12-37-37
Manish Kumawat

I Think, we cannot add breakpoint into the javascript using outsystem IDE.

If it it possible than please let me know anyone 

I need to be sure regarding this in Yes or No .


As I have tried in outsystem mobile , I add a javascript in the client action and tried to add the break point into the javascript but there is no option to add break point . so I am not able to debug. Am I right?


As far I found that we cannot debug in javascript. I strictly want to be sure because to my mobile exam preparation.


Kindly let me know anyone with surety ?

2024-07-05 14-16-55
Daniël Kuhlmann
Ā 
MVP
Solution

No it is not possible to set breakpoint in javascript using OutSystems IDE.

But you can debug the javascript of a mobile outsystems app  in chrome preview mode and also on the mobile device using chrome remote device debugging if you connect the mobile device to your laptop using USB.


Community GuidelinesBe kind and respectful, give credit to the original source of content, and search for duplicates before posting.