We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3613442 commit cbe0a9bCopy full SHA for cbe0a9b
hxcpp-debug-server/hxcpp/debug/jsonrpc/Macro.hx
@@ -6,7 +6,9 @@ import haxe.macro.Compiler;
6
class Macro {
7
macro public static function injectServer():Void {
8
if (Context.defined("cpp") && Context.defined("debug")) {
9
- Context.getType("hxcpp.debug.jsonrpc.Server");
+ Context.onAfterInitMacros(() -> {
10
+ Context.getType("hxcpp.debug.jsonrpc.Server");
11
+ });
12
Compiler.define("HXCPP_DEBUGGER");
13
}
14
0 commit comments