Explorar o código

Update ocamldebug note in CONTRIBUTING.md (#9398)

* update contributing note

* Typo
George Corney %!s(int64=5) %!d(string=hai) anos
pai
achega
829cc24d8f
Modificáronse 2 ficheiros con 3 adicións e 1 borrados
  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
 
-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
 

+ 2 - 0
src/dune

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