-
Notifications
You must be signed in to change notification settings - Fork 157
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #329 from graalvm/sort-polyglot-demos
[GR-60094] Move polyglot demos to archive category.
- Loading branch information
Showing
42 changed files
with
48 additions
and
60 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
# Debugging a Java with JavaScript Embedding Application | ||
|
||
GraalVM supports debugging of [polyglot applications](https://www.graalvm.org/latest/reference-manual/polyglot-programming/). | ||
You can attach compatible debuggers such as Chrome Developer Tools to a process running on GraalVM. | ||
To debug guest language applications, pass the `--inspect` option to the command line launcher. | ||
|
||
## Prerequisites | ||
|
||
Download and install the GraalVM JDK using [SDKMAN!](https://sdkman.io/). | ||
```bash | ||
sdk install java 21.0.1-graal | ||
``` | ||
For other installation options, visit the [Downloads page](https://www.graalvm.org/downloads/). | ||
|
||
## Build and Run the Application | ||
|
||
2. Clone the repository and navigate into the `polyglot-debug` directory: | ||
```bash | ||
git clone https://github.com/graalvm/graalvm-demos | ||
``` | ||
```bash | ||
cd graalvm-demos/archive/polyglot-debug | ||
``` | ||
3. Build the application using Maven: | ||
```bash | ||
mvn clean package | ||
``` | ||
4. Run this application with the following command: | ||
```bash | ||
mvn exec:exec | ||
``` | ||
|
||
Learn more about [debugging with Chrome Debugger](https://www.graalvm.org/latest/tools/chrome-debugger/) at the website. |
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.