Getting following error while trying to debug a procedure .
Connecting to the database VM DBA SYSTEM.
Executing PL/SQL: ALTER SESSION SET PLSQL_DEBUG=TRUE
Executing PL/SQL: CALL DBMS_DEBUG_JDWP.CONNECT_TCP( '172.24.39.167', '3549' )
ORA-30683: failure establishing connection to debugger
ORA-12535: TNS:operation timed out
ORA-06512: at "SYS.DBMS_DEBUG_JDWP", line 68
ORA-06512: at line 1
Following privileges are give, but still facing the issue.
SQL> grant DEBUG ANY PROCEDURE to xxxxx;
SQL> grant DEBUG CONNECT SESSION to xxxxx;
note:Accessing the database through VPN .
The error says it all, the database can't connect back down to your machine.
JDWP Debug works by the database connecting back down to your computer where you're running SQL Developer.