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

Debugger+source mapping: displaying variables, console (evaluate expression) #50

Open
d9k opened this issue May 8, 2018 · 3 comments
Open

Comments

@d9k
Copy link

d9k commented May 8, 2018

Hello!
I tried to follow starlight-examples. But the output of grunt-starlight is unreadable minified javascript.
How can I configure Gruntfile.js to disable uglification/minification for better readability and debugging?

@d9k
Copy link
Author

d9k commented May 8, 2018

oh, maybe my expectation were to high..
I've used coffescript and it was easier to correlate input coffeescript lines and ouput es5 js lines...
But starlight transpiles lua code not to the "natively looking" es6 but to the starlight.js library calls..

@d9k
Copy link
Author

d9k commented May 8, 2018

Tried source-map example which is cool but

it hasn't been possible to display variables in the debugger, which is sad

really sad :c

@d9k d9k changed the title Disabling minification? Debugger + source mapping: displaying variable, console (evaluate expression) May 8, 2018
@d9k d9k changed the title Debugger + source mapping: displaying variable, console (evaluate expression) Debugger+source mapping: displaying variables, console (evaluate expression) May 8, 2018
@d9k
Copy link
Author

d9k commented May 8, 2018

I think I can't use starlight for production client side scripts development without ability for displaying variables in debugger and without lua console (evaluate expression).

Starlight is cool and much work was already done (thank you, @paulcuth!) but I haven't time to help to implement lacking features too :c

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

1 participant