Search notes:

SQL Developer: Tools -> Preferences -> Database

Filename for connection startup script

The Filename for connection startup script value allows to specify the path of an SQL script that is executed when SQL Developer opens a new database connection.
As per that Jeff Smith, it might contain at least set serveroutput on to enable dbms_output by default.
This value is stored in systemV.W.X.Y.Z/o.sqldeveloper/product-preferences.xml.
Compare with
On the command line, the location of the startup script can be queried or set using the SQL Developer PowerShell module, functions get-SQLDeveloperStartupScript and set-SQLDeveloperStartupScript P:\ath\to\xyz.

Example script

set   serveroutput on   format wrapped
set   pages        5000
alter session set  plsql_warnings='enable:all';

Index

Fatal error: Uncaught PDOException: SQLSTATE[HY000]: General error: 8 attempt to write a readonly database in /home/httpd/vhosts/renenyffenegger.ch/php/web-request-database.php:78 Stack trace: #0 /home/httpd/vhosts/renenyffenegger.ch/php/web-request-database.php(78): PDOStatement->execute(Array) #1 /home/httpd/vhosts/renenyffenegger.ch/php/web-request-database.php(30): insert_webrequest_('/notes/developm...', 1759561888, '216.73.216.149', 'Mozilla/5.0 App...', NULL) #2 /home/httpd/vhosts/renenyffenegger.ch/httpsdocs/notes/development/Software/Oracle-SQL-Developer/GUI/menu/Tools/Preferences/Database/index(54): insert_webrequest() #3 {main} thrown in /home/httpd/vhosts/renenyffenegger.ch/php/web-request-database.php on line 78