From a102d025af1b18b316472afcae58af2cbb9cdb74 Mon Sep 17 00:00:00 2001 From: Jake Russo Date: Tue, 21 Mar 2023 22:30:13 -0500 Subject: [PATCH] Add REPL to vscode launch.json --- .vscode/launch.json | 20 ++++++++++++++++++-- 1 file changed, 18 insertions(+), 2 deletions(-) diff --git a/.vscode/launch.json b/.vscode/launch.json index 7810a66..2cb0f76 100644 --- a/.vscode/launch.json +++ b/.vscode/launch.json @@ -27,12 +27,28 @@ "foo .= 10", "bar .= 3", - "foo ** bar // 6" + "foo ++ 5" ], "env": { "RHUMB_VISITOR_DEBUG": "0", "RHUMB_CODE_ARRAY_DEBUG": "0", - "RHUMB_VM_DEBUG": "0" + "RHUMB_VM_DEBUG": "1" + } + }, + { + "name": "Launch rhumb REPL", + "type": "go", + "request": "launch", + "mode": "debug", + "console": "integratedTerminal", + "program": "cmd/rhumb/main.go", + "args": [ + "repl" + ], + "env": { + "RHUMB_VISITOR_DEBUG": "1", + "RHUMB_CODE_ARRAY_DEBUG": "1", + "RHUMB_VM_DEBUG": "1" } } -- 2.45.2