From 90d22fd7f89c38c742fae60bbafb6d79c8a32def Mon Sep 17 00:00:00 2001 From: Tim Lyons Date: Tue, 7 Feb 2023 15:42:30 -0800 Subject: [PATCH] Allows to run debug on any current open file given it is compiled --- .vscode/launch.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.vscode/launch.json b/.vscode/launch.json index b449080..565f454 100644 --- a/.vscode/launch.json +++ b/.vscode/launch.json @@ -5,7 +5,7 @@ "name": "OCaml", "type": "ocamldebug", "request": "launch", - "program": "${workspaceRoot}/inlecture.d.byte", + "program": "${fileDirname}/${fileBasenameNoExtension}.d.byte", "stopOnEntry": false, "preLaunchTask": "build" // Build before launch }