Skip to content

Commit

Permalink
Add dependency on org.graalvm.polyglot.tools
Browse files Browse the repository at this point in the history
  • Loading branch information
olyagpl committed Dec 15, 2023
1 parent bdc899e commit 5dd83ce
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 4 deletions.
7 changes: 3 additions & 4 deletions polyglot-debug/README.MD
Original file line number Diff line number Diff line change
Expand Up @@ -32,13 +32,12 @@ This sample code helps to demonstrate simplicity of debugging and developing Gra

## Debug the Application

Working with a polyglot project in VS Code is simple just open this sample.
It will be working out of the box with VS Code GraalVM extensions.
Debugging a polyglot application should work out of the box in VS Code with the GraalVM extension.

1. Place breakpoints either in Java or JavaScript code.
1. Place breakpoints in _PolyglotDebug.java_.

2. To debug the project, go to __Run and Debug__ activity or simply press F5.

3. Choose **Launch Java 8+** as this is the Polyglot debugger provided by the GraalVM extension.

That is, the sample is running under debugger on GraalVM.
That is, the sample is running using the GraalVM debugger.
6 changes: 6 additions & 0 deletions polyglot-debug/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -104,6 +104,12 @@
<version>${graalvm.version}</version>
<type>pom</type>
</dependency>
<dependency>
<groupId>org.graalvm.polyglot</groupId>
<artifactId>tools</artifactId>
<version>${graalvm.version}</version>
<type>pom</type>
</dependency>
</dependencies>

</project>

0 comments on commit 5dd83ce

Please sign in to comment.