All links of one day
in a single page.
<Previous day - Next day>

rss_feedDaily RSS Feed
floral_left The Daily Shaarli floral_right
——————————— Friday 12, February 2021 ———————————
debug - pudb - python - terminal -

++++++++++++++++++++++
Version avec interface cmd
++++++++++++++++++++++

Prérequis :

pip install pudb

Pour docker, dans le docker compose ajouter

stdin_open: true
tty: true
Faire docker attach container_name

Comment break/debug :

Là où on veut break, il suffit de coller cette ligne : import pudb; pu.db

Dans le terminal où on a fait docker attach on doit voir l'interface de pudb

++++++++++++++++++++++
Version + simple
++++++++++++++++++++++
Prérequis : python 3.7

Pour docker, dans le docker compose ajouter

stdin_open: true
tty: true
Faire docker attach container_name

Comment break/debug :

breakpoint()

Dans le terminal où on a fait docker attach on doit voir un prompt

On peut print les variables
"continue" pour continuer

-