-
Notifications
You must be signed in to change notification settings - Fork 4
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Enable run,debug source links to process .jvmopts file. #326
Comments
Thanks for reporting! The current workaround is to use launch.json if using VS Code (other editors should also enable this in different ways) and defined jvm propeties there. |
@tgodzik Okay, I created the following ./.vscode/launch.json:
I then selected the run link in the objektwerks.ChuckNorrisApp source file --- but VSCode failed to pick up the specified jvm options. I also tried a few other variations on the jvmOptions, but nothing worked. The reported error is:
Have you or someone you know successfully used this technique? Thanks! |
You need to run from the run menu. There is a drop-down to choose which configuration you want to run. You should see the created configuration name. I am on my phone now, but let me know if you have any issues. I will try to show a gif when I am on my computer |
@tgodzik Indeed, selecting menu Run > Run Without Debugging works! :) The embedded run | debug source link does not. Thanks! ;) |
Is your feature request related to a problem? Please describe.
No.
Describe the solution you'd like
When selecting run or debug in a runnable Scala source file, a local .jvmopts file should also be processed.
Describe alternatives you've considered
N/A
Additional context
If desired this project can be used to test the current and future state of the run | debug feature: https://github.com/objektwerks/scalafx.http
Search terms
.jvmopts run debug metals
The text was updated successfully, but these errors were encountered: