Skip to content

add cwd, env and envFile support#159

Open
NecroKote wants to merge 6 commits into
fwcd:mainfrom
NecroKote:env-cwd-envFile-support
Open

add cwd, env and envFile support#159
NecroKote wants to merge 6 commits into
fwcd:mainfrom
NecroKote:env-cwd-envFile-support

Conversation

@NecroKote
Copy link
Copy Markdown

@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
Comment thread src/extension.ts

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

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
Copy Markdown
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