altmp / altv-issues

Issues and roadmap for alt:V project
93 stars 17 forks source link

Expose debug port for inspector on the v8 module #652

Open danilaplee opened 3 years ago

danilaplee commented 3 years ago

Suggestion It would be really beneficial to have debug port of the v8 inspector exposed on the client. Here is also a minimal example of v8 runtime with exposed inspector port: https://github.com/ahmadov/v8_inspector_example

Use cases Debugging/profiling for performance scripts in the js client. Right now that's impossible, except some console.log's here and there.

ThomasMarangoni commented 3 years ago

For Webview it's already enabled (just if someone finds this issue and is searching it): https://wiki.altv.mp/CEF_(Chromium_Embedded_Framework)

7Hazard commented 3 years ago

I assume he's talking about client-js scripts. There have been plans for it but it needs a debug API through C++ SDK first.