blob: d0bccea61a382921fed6663eb0ebc95c44a954ac [file] [log] [blame]
// Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file
// for details. All rights reserved. Use of this source code is governed by a
// BSD-style license that can be found in the LICENSE file.
library vmservice_io;
import 'dart:async';
import 'dart:convert';
import 'dart:io';
import 'dart:isolate';
import 'dart:vmservice';
part 'resources.dart';
part 'server.dart';
// The TCP ip/port that the HTTP server listens on.
int _port;
String _ip;
// The VM service instance.
VMService service;
main() {
// Get VMService.
service = new VMService();
// Start HTTP server.
var server = new Server(service, _ip, _port);
server.startServer();
}