Skip to content
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

WASM support #12

Open
CXwudi opened this issue Oct 19, 2024 · 2 comments
Open

WASM support #12

CXwudi opened this issue Oct 19, 2024 · 2 comments

Comments

@CXwudi
Copy link

CXwudi commented Oct 19, 2024

Thanks for maintaining this useful debugging utility. I was transferring from JS to WASM and I got:

Could not resolve io.github.theapache64:rebugger:1.0.0-rc03.

I figured that WASM platform is not yet supported from the build file, despite #2 mentioned WASM.

So I am wondering any chance to add WASM support? 👀

@theapache64
Copy link
Owner

theapache64 commented Oct 19, 2024

Hi @CXwudi

thanks for the kind words :)

I tested it in my sample wasm project, and it works 🤔 (you can try checkout to rebugger-sample branch and see if it works for you pls). also if you could share a small repro I can try setup rebugger in it?

@CXwudi
Copy link
Author

CXwudi commented Oct 19, 2024

Hi @theapache64,

Thanks for the prompt reply and the example. However, the platform you provided is a JS platform despite using onWasmReady. When I refer to Wasm platform, I am referring to:

kotlin {
  wasmJs {
    browser {
    }
  }
  sourceSets {
    wasmJsMain.dependencies {
      implementation("io.github.theapache64:rebugger:1.0.0-rc03")
    }
  }
}

setup as mentioned in https://github.com/Kotlin/kotlin-wasm-browser-template/blob/main/build.gradle.kts

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

No branches or pull requests

2 participants