Skip to Main Content

Oracle Developer Tools for VS Code

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Interested in getting your voice heard by members of the Developer Marketing team at Oracle? Check out this post for AppDev or this post for AI focus group information.

Feature Request - docker.host.internal support for Jdwp

Justin HanselmanJul 23 2024

When running an oracle-db as part of a normal isolated docker compose (non-shared network) Oracle Developer Tools for VS Code does not allow me to specify host.docker.internal for my connection settings because it says it is an invalid IP address. This means that I have to manually open an external application with 127.0.0.1 set and then write: DBMS_DEBUG_JDWP.CONNECT_TCP('host.docker.internal', '65000'); at the top of my files.

To my knowledge this tool is not open source. If it is, I would take a closer look at the source before writing this (let me know if I missed it). From what I've been seeing, it seems that the tool does not make a distinction between the host that it sends to the oracle-db and the host that it is opening up a connection on.

Ideally, it would be great to relax the restriction so I can use appropriate DNS entries.

Comments

Arnoschots-Oracle Apr 22 2020 — edited on Apr 22 2020

Hi,

The "sudo al-config -s" doesn't work on my Autonomous Linux instance.

Command output:

[opc@opsserver ~]$ sudo al-config -s

/sbin/al-config: illegal option -- s

Configure OCI notification service topic OCID:

  Usage:

    al-config -T [topic OCID]

  Options:

    -T [topic OCID] OCI notification service topic OCID

Configure OCI CLI profile:

  Usage:

    al-config -u [user OCID] -t [tenancy OCID] -k [key file]

  Options:

    -u [user OCID] OCI User OCID

    -t [tenancy OCID] OCI Tenancy OCID

    -k [key file] from which we obtaion the API private key

    -p [key passphrase file] from which we obtain API key passphrase. Provide

       this if API private key is encrypted. If not provided, user will be

       prompted to enter passphrase.

1 - 1

Post Details

Added on Jul 23 2024
9 comments
256 views