To be able to use native functions starting with % such as %DebugPrint you need to pass --allow-natives-syntax to d8 on the command line.
Cheers, Rodolph On Thu, 15 Aug 2019 at 09:26, 杨亮 <yangliang.158...@bytedance.com> wrote: > hi,I want to know how I can run d8 in debug mode so I can > use %DebugPrint command,I can just get one line output info,seems I need > run d8 in the debug mode ? > > -- > -- > v8-users mailing list > v8-users@googlegroups.com > http://groups.google.com/group/v8-users > --- > You received this message because you are subscribed to the Google Groups > "v8-users" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to v8-users+unsubscr...@googlegroups.com. > To view this discussion on the web visit > https://groups.google.com/d/msgid/v8-users/1f274ea5-a181-443a-882b-a8249f247799%40googlegroups.com > <https://groups.google.com/d/msgid/v8-users/1f274ea5-a181-443a-882b-a8249f247799%40googlegroups.com?utm_medium=email&utm_source=footer> > . > -- -- v8-users mailing list v8-users@googlegroups.com http://groups.google.com/group/v8-users --- You received this message because you are subscribed to the Google Groups "v8-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to v8-users+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/v8-users/CA%2BvEM_V0aGtXYtsBo%3DvN8Aw2%2BMhMJMDO3jKCtoEF%3DgVO-EBe2g%40mail.gmail.com.