Skip to content

VSCode development environment to debug Odoo modules.

Notifications You must be signed in to change notification settings

CRogos/odoo-debug

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Development Environment

This repository is a deveopment enviorment for Odoo compleatly hosted in a local docker setup.

In order to checkout private repositories, your github private key needs to be setup on the host maschine in your user ./ssh folder:

There need to be two files in this folder. One configuration file named config and the private key file id_rsa.

To run the development environment you need a local docker installation. Start the root folder in your local vscode (plugin Dev Containers required) and select Reopen in Container.

vscode dev container

odoo web

This container runns a odoo web applicaion.

odoo dev

This contianer is used to execute the unit tests in vscode. When you execute unit tests in vscode, the first output on the console is a command, when executed on the docker command line you can use the Python: Tests Debug profile to connect

When starting the debugger detached, a second webserver is started on port 8067 odoo web applicaion.

postgress database

pgadmin

The pgdadmin provides a web insterface to access the postgress database.

Username: [email protected]
Password: admin

To connect to the Odoo database you need to create a connection as follow:

name: mydb
username: odoo
password: myodoo

pgAdmin Connection

About

VSCode development environment to debug Odoo modules.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published