Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DevTools Support #168

Open
bilenkonito opened this issue Mar 26, 2019 · 7 comments
Open

DevTools Support #168

bilenkonito opened this issue Mar 26, 2019 · 7 comments

Comments

@bilenkonito
Copy link

Any chance support for the devtools protocol can be added?
Right now, debugging the JS environment is quite tedious.

@deandob
Copy link

deandob commented Nov 7, 2019

Would be helpful to know if there are any plans to enhance debugging with NiL. Its working great as the script engine for our system but debugging is a challenge. I haven't quite worked out how to effectively use the inbuilt debugging callback - ideal if we could hook it into a script IDE like codemirror or monaco.

@nilproject
Copy link
Owner

It's interesting feature. But at this moment I can not say when this will be implemented.

@deandob
Copy link

deandob commented Nov 14, 2019

We will need to implement this sooner than later - so our team here are starting to build a basic javascript IDE using codemirror and some supporting script. Looks like it should all work, but I need to know the line number the NiL debug callback is on. Everything else we can handle ourselves. Is there any documentation for the debug callback?

@nilproject
Copy link
Owner

No, no documentation, sorry. But I made this example

@deandob
Copy link

deandob commented Nov 16, 2019

Thanks! Very useful and has what I need. I'd be happy to share our NiL.JS breakpoint debugger if anyone is interested.

@lafar6502
Copy link

@deandob hi, i would be interested in your project, is it available anywhere? Need code editor embedded in a web app and a debugger would be great to have.

@deandob
Copy link

deandob commented Mar 14, 2020

@lafar6502 we have the code editor working (its easy with libraries like codemirror) but the debugger is WIP, unfortunately other features have priority at the moment. Likely mid year at this point.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants