Forráskód Böngészése

Update ocamldebug note in CONTRIBUTING.md (#9398)

* update contributing note

* Typo
George Corney 5 éve
szülő
commit
829cc24d8f
2 módosított fájl, 3 hozzáadás és 1 törlés
  1. 1 1
      CONTRIBUTING.md
  2. 2 0
      src/dune

+ 1 - 1
CONTRIBUTING.md

@@ -53,7 +53,7 @@ Please also bear the following in mind:
 
 
 ### Using a debugger
 ### Using a debugger
 
 
-To debug the Haxe compiler, you can use either a system debugger (`gdb`/`lldb`), or [ocamldebug](http://caml.inria.fr/pub/docs/manual-ocaml/debugger.html). `ocamldebug` provides a better debugging experience. To use it, compile with `make BYTECODE=1`.
+To debug the Haxe compiler, you can use either a system debugger (`gdb`/`lldb`), or [ocamldebug](http://caml.inria.fr/pub/docs/manual-ocaml/debugger.html). `ocamldebug` provides a better debugging experience. To use it, uncomment `(modes byte)` from [src/dune](src/dune) and recompile.
 
 
 ### Using printf
 ### Using printf
 
 

+ 2 - 0
src/dune

@@ -28,4 +28,6 @@
 	(libraries haxe)
 	(libraries haxe)
 	(modules haxe)
 	(modules haxe)
 	(link_flags (:include ../lib.sexp))
 	(link_flags (:include ../lib.sexp))
+	; Uncomment to enable bytecode output for ocamldebug support
+	; (modes byte)
 )
 )