Skip to content

Hi, How to configure Scala-native Run and Debug config for IDEA for debug your project #373

Open
@mullerhai

Description

@mullerhai

HI,
I have install idea 2025 ,llvm 19 ,scala 3.6.2 ,scala-native 0.5.6 ,sbt 1.10.6,when I use sbt console to run the scala-native example it could work, but when I use idea the run or Debug buton , it cannot work and tell me the error .I has find the idea config for sn https://scala-native.org/en/latest/contrib/ides.html ,but it is too old can not config them ,so we need to latest Idea run button config with the config pictures please.
thanks

Image

get error

Image

we need to edit the config ,but I do not know

Image

C:\Users\jeffsyry.jdks\graalvm-ce-17.0.9\bin\java.exe -server -Xmx1536M -Dsbt.supershell=false -Dgrouping.with.qualified.names.enabled=true -Dseparate.prod.test.sources.enabled=false -Didea.managed=true -Dfile.encoding=UTF-8 "-Didea.installation.dir=C:\Program Files\JetBrains\IntelliJ IDEA 2024.3" -Dsbt.log.noformat=true -jar C:\Users\jeffsyry\AppData\Roaming\JetBrains\IntelliJIdea2024.3\plugins\Scala\launcher\sbt-launch.jar early(addPluginSbtFile="""C:\Users\jeffsyry\AppData\Local\Temp\idea2663.sbt""") idea-shell

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions