starlight icon indicating copy to clipboard operation
starlight copied to clipboard

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

Open d9k opened this issue 7 years ago • 3 comments

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 avatar May 08 '18 00:05 d9k

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 avatar May 08 '18 01:05 d9k

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 avatar May 08 '18 01:05 d9k

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

d9k avatar May 08 '18 01:05 d9k