How to debug JavaScript code called from Java (via JSR-223)?
Asked Answered
H

1

6

I'm developing a java application where some logic is performed via jsr223 (javascript). In java class I forward some java object to javascript (e.g. my domain objects, PreparedStatement for some SQL queries) and then I start compiled javascript code.

I use Eclipse for development.

My question is, how to debug javascript part?

Cheers, Jacek

Houseman answered 23/6, 2012 at 18:26 Comment(2)
Well, for starters there's println() in JavaScript.Erickericka
@Erickericka #1 Since when..? and #2 That's not debugging :(Radicel
P
1

Here's info for debugging js in jsr223 from Netbeans.

Can't say anything about eclipse.

Pasteboard answered 30/7, 2012 at 20:33 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.