curiosity-ai / h5

🚀 The next generation C# to JavaScript compiler
https://github.com/curiosity-ai/h5
Apache License 2.0
210 stars 30 forks source link

no an issue but a question. Anyway to debug (f9) step by step with chrome or firefox ? #63

Closed ttournel closed 1 year ago

ttournel commented 1 year ago

Hi!

How to debug (f9) step by step with chrome or firefox ?

Thanks in advance, Thierry

ghost commented 1 year ago

The same as with Bridge? You need source map... I guess.

But if you have a real problem it is much better to debug generated JS code or use Console.WriteLine and check the output.

theolivenbaum commented 1 year ago

Agreed - I also disable the source-code mapping as I prefer to debug the generated JS. Otherwise, yes you can debug using the browser developer tools.