Open PetrarcaBruto opened 1 year ago
I also had a problem with the wolfram kernel path using version 13.2 (It worked with version 13.1 on another Linux distribution then I changed both the Linux distribution and the updated to 13.2 so I do not really know what caused the problem).
As far as I can tell from my previous time using this extension, it does not offer a debugger. There is another VScode extension that claims that it does but I had trouble getting it to work.
I used this extension for package development. To debug I just save the package on VScode (I might have enabled something that allows it to update the installation too but I do not know/remember) and then call Needs on a Mathematica notebook each time (I often use a separate notebook that has only that command so that I can just evaluate it directly without having to search for the command in the current notebook or having to retype the Needs command).
try this addon:
Hi, I will appreciate your help for running wl code from VS Code. I do the following sequence:
1- I verified that I can run the Wolfram Engine from the Wolframscript. 2- I installed this package from the VS Code market place 3- I had to change the VS code kernel directory (that still points to 13.1) to be 13.2. 4-I created a one line wl file containing the code: Range[3] Note that the wl file gets interactive syntax Wolfram language highlighting, syntax checking, and documentation. 5- Run the file without debugging (Ctrl+F5) and I get a Visual Studio Code dialog box with the message: "You don't have an extension for debugging Wolfram. Should we find a Wolfram extension in the Marketplace?"
With a button: "Find Wolfram extension" 6- Clicking on the button generates a: "@category:debuggers Wolfram" which results in "No extension found"
Note: Because I cannot execute Wolfram code I don't know how/where to execute LSPServer placelet you mention in the setup documentation. If I run those installation lines of code in Wolframscript they execute ok but I still get the same error inside VSCode. Could you please guide me. What am I doing wrong?
Another question: Not sure if the functionality in this repository is supposed to allow the execution of notebooks in VS code.
Thanks, Petrarca