예제 #1
0
        static void Main(string[] args)
        {
            var debugger = new V8DebugClient();

            debugger.SendRequest(new
            {
                seq = 1,
                type = "request",
                command = "scripts"
            });
        }
예제 #2
0
        static void Main(string[] args)
        {
            var debugger = new V8DebugClient();

            Console.Write(debugger.ReadResponse());
            
            debugger.SendRequest(new
            {
                seq = 1,
                type = "request",
                command = "scripts"
            });

            Console.Write("*" + debugger.ReadResponse() + "*");
            Console.Write("*" + debugger.ReadResponse() + "*");
            Console.Write("*" + debugger.ReadResponse() + "*");

            Console.Write("\n\n[Press Enter to exit]...");
            Console.Read();
        }