diff options
Diffstat (limited to 'deno2/snapshot_creator.cc')
-rw-r--r-- | deno2/snapshot_creator.cc | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/deno2/snapshot_creator.cc b/deno2/snapshot_creator.cc index bf377535a..8441e766f 100644 --- a/deno2/snapshot_creator.cc +++ b/deno2/snapshot_creator.cc @@ -1,5 +1,6 @@ // Copyright 2018 Ryan Dahl <ry@tinyclouds.org> // All rights reserved. MIT License. +// Hint: --trace_serializer is a useful debugging flag. #include <assert.h> #include <stdio.h> #include <string.h> @@ -126,6 +127,8 @@ int main(int argc, char** argv) { const char* natives_out_cc = argv[4]; const char* snapshot_out_cc = argv[5]; + v8::V8::SetFlagsFromCommandLine(&argc, argv, true); + auto js_data = ReadFile(js_fn); auto natives_blob = ReadFile(natives_in_bin); auto snapshot_in_blob = ReadFile(snapshot_in_bin); |