cancel
Showing results for 
Search instead for 
Did you mean: 
Subscribe

Hi,

is it possible to remotely debug a in TypeScript developed app on BTP? cf ssh is enabled and I can connect the debugger with cf ssh -N -L 9229:127.0.0.1:9229 myapp

But since source is compiled into .js and .js.map the breakpoints set in .ts files have no effect so do breakpoints in the .js files of the gen folder.

Thanks

0 Likes
View Entire Topic
andreas_gall2
Participant
0 Likes

Basically found the solution only minutes after I posted this question. The solution lays here: https://community.sap.com/t5/technology-blog-posts-by-members/remote-debugging-of-sap-capm-app-nodej...

Login to subaccount and space, enable debugging with cf ssh myapp-srv and run cds debug myapp-srv and Chrome DevTools open up... voila.

Regards