diff --git a/README.md b/README.md index ddb7d976..1b3db07c 100644 --- a/README.md +++ b/README.md @@ -140,36 +140,3 @@ at your option. Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions. ---- - -## Contributing - -### Testing Hermit apps using `cargo run` - -As mentioned above, the Uhyve repository ships some binaries that can be used for testing purposes. - -```sh -cargo run -- data/x86_64/rusty_demo -cargo run -- data/x86_64/hello_world -cargo run -- data/x86_64/hello_c -``` - -### Debugging Hermit apps - -Basic support of (single-core) applications is already integrated into Uhyve. - -By specifying variable `HERMIT_GDB_PORT=port`, Uhyve is working as gdbserver and is waiting on port `port` for a connection to a gdb. -For instance, with the following command Uhyve is waiting on port `6677` for a connection. - -```bash -HERMIT_GDB_PORT=6677 uhyve /path_to_the_unikernel/hello_world -``` - -In principle, every gdb-capable IDE should be able to debug Hermit applications. (Eclipse, VSCode, ...) - -#### Visual Studio Code / VSCodium - -The repository [hermit-rs](https://github.com/hermit-os/hermit-rs) provides [example configuration files](https://github.com/hermit-os/hermit-rs/tree/master/.vscode) to debug a Hermit application with [Visual Studio Code](https://code.visualstudio.com/), [VSCodium](https://vscodium.com/) or derivatives of [Eclipse Theia](https://theia-ide.org/). - -![Debugging Hermit apps](img/vs_code.png) - diff --git a/img/vs_code.png b/img/vs_code.png deleted file mode 100644 index 6249c8f2..00000000 --- a/img/vs_code.png +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:f00d01098a2118c67dd1f8ea96bd64f3873db1daaca94351d8f829af4cb65d89 -size 847818