File tree Expand file tree Collapse file tree 7 files changed +37
-47
lines changed
resources/org/graalvm/demos Expand file tree Collapse file tree 7 files changed +37
-47
lines changed Original file line number Diff line number Diff line change 1
- name : polyglot-debug
1
+ name : archive/ polyglot-debug
2
2
on :
3
3
push :
4
4
paths :
5
- - ' polyglot-debug/**'
5
+ - ' archive/ polyglot-debug/**'
6
6
- ' .github/workflows/polyglot-debug.yml'
7
7
pull_request :
8
8
paths :
9
- - ' polyglot-debug/**'
9
+ - ' archive/ polyglot-debug/**'
10
10
- ' .github/workflows/polyglot-debug.yml'
11
11
schedule :
12
12
- cron : " 0 0 1 * *" # run every month
28
28
cache : ' maven'
29
29
- name : Run 'polyglot-debug'
30
30
run : |
31
- cd polyglot-debug
31
+ cd archive/ polyglot-debug
32
32
mvn --no-transfer-progress clean package
33
33
mvn exec:exec
Original file line number Diff line number Diff line change
1
+ # Debugging a Java with JavaScript Embedding Application
2
+
3
+ GraalVM supports debugging of [ polyglot applications] ( https://www.graalvm.org/latest/reference-manual/polyglot-programming/ ) .
4
+ You can attach compatible debuggers such as Chrome Developer Tools to a process running on GraalVM.
5
+ To debug guest language applications, pass the ` --inspect ` option to the command line launcher.
6
+
7
+ ## Prerequisites
8
+
9
+ Download and install the GraalVM JDK using [ SDKMAN!] ( https://sdkman.io/ ) .
10
+ ``` bash
11
+ sdk install java 21.0.1-graal
12
+ ```
13
+ For other installation options, visit the [ Downloads page] ( https://www.graalvm.org/downloads/ ) .
14
+
15
+ ## Build and Run the Application
16
+
17
+ 2 . Clone the repository and navigate into the ` polyglot-debug ` directory:
18
+ ``` bash
19
+ git clone https://github.com/graalvm/graalvm-demos
20
+ ```
21
+ ` ` ` bash
22
+ cd graalvm-demos/archive/polyglot-debug
23
+ ` ` `
24
+ 3. Build the application using Maven:
25
+ ` ` ` bash
26
+ mvn clean package
27
+ ` ` `
28
+ 4. Run this application with the following command:
29
+ ` ` ` bash
30
+ mvn exec:exec
31
+ ` ` `
32
+
33
+ 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.
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments