ahmadov / v8_inspector_example

V8 Inspector example
MIT License
47 stars 8 forks source link

Would it be possible for you to provide us with the args.gn #8

Open wxfSEU opened 1 year ago

wxfSEU commented 1 year ago
  Hi Elmi, I hope this message finds you well. I am a software engineer from China and  I have been trying to use the newest v8 engine inspector to debug JavaScript code in my project. Your project is extremely helpful to me.
  I noticed that in your v8_inspector_example project, you built the v8 engine source code on Linux and get the libv8_monolith.a library.   I built the newest v8 engine source code on Windows10 ,  also obtained the v8_monolith.lib static library. 

But Unfortunately, I encountered some errors when using v8 engine inspector to debug JavaScript based on above v8_monolith.lib on Windows 10. ChatGPT suggested that the problem might be due to incorrect configurations in the out/x64.release/args.gn file and I should add "v8_enable_inspector = true" in out/x64.release/args.gn file. Would it be possible for you to provide me with the args.gn file that you used to build libv8_monolith.a on Linux? Your assistance would be greatly appreciated. Thank you for your time and help.

ahmadov commented 1 year ago

Hi, you can have a look here: https://github.com/eclipsesource/J2V8/blob/master/v8/linux-x64/args.gn

wxfSEU commented 1 year ago

Hi ahmadov, thank you for your reply!