Skip to content

add cwd, env and envFile support #159

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

Open
wants to merge 6 commits into
base: main
Choose a base branch
from

Conversation

NecroKote
Copy link

@NecroKote NecroKote commented Aug 7, 2024

Shameless copy of #42 (Huge thanks to @thunderz99 !) with the addition of envFile support.

also injects --add-exports jdk.jdi/com.sun.tools.jdi=ALL-UNNAMED without which locally build debugAdapter refuses to start.

Supposed to be merged together with fwcd/kotlin-debug-adapter#90

@github-actions github-actions bot added the extension Related to the VSCode extension label Aug 7, 2024
@@ -58,7 +58,10 @@ export async function activate(context: vscode.ExtensionContext): Promise<Extens
return;
}

const javaOpts = await findJavaOpts();
const initialJavaOpts = await findJavaOpts();
const addExportAppendix = "--add-exports jdk.jdi/com.sun.tools.jdi=ALL-UNNAMED"

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

what does this change do?

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

it's in the description:

also injects --add-exports jdk.jdi/com.sun.tools.jdi=ALL-UNNAMED without which locally built debugAdapter refuses to start.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
extension Related to the VSCode extension
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants