varabyte / kobweb

A modern framework for full stack web apps in Kotlin, built upon Compose HTML
https://kobweb.varabyte.com
Apache License 2.0
1.51k stars 66 forks source link

Run Kobweb server in a way that it can be debugged remotely #331

Closed bitspittle closed 11 months ago

bitspittle commented 11 months ago

Looking at https://www.jetbrains.com/help/idea/attaching-to-local-process.html I'd need to run the kobweb server with a debug agent attached to it.

This shouldn't be hard to do (the KobwebStartTask can do it) but we should allow some configuration, probably in the conf.yaml file?

server:
  dev:
    remoteDebugging:
      enabled: true
      port: 5005

For an initial release we can set enabled to false, but is there a reason not to just default it to true?

bitspittle commented 11 months ago

Released in 0.14.1