mirror of
				https://github.com/searxng/searxng
				synced 2024-01-01 19:24:07 +01:00 
			
		
		
		
	Merge pull request #694 from return42/fix-c7f27404
[fix] debug console (pdb) in a session started by `make run`
This commit is contained in:
		
						commit
						a7199bc085
					
				
					 1 changed files with 12 additions and 8 deletions
				
			
		
							
								
								
									
										14
									
								
								manage
									
										
									
									
									
								
							
							
						
						
									
										14
									
								
								manage
									
										
									
									
									
								
							|  | @ -121,14 +121,18 @@ fi | ||||||
| export DOCS_BUILD | export DOCS_BUILD | ||||||
| 
 | 
 | ||||||
| webapp.run() { | webapp.run() { | ||||||
|     SEARXNG_DEBUG=1 pyenv.cmd python -m searx.webapp & |     local parent_proc="$$" | ||||||
|     sleep 3 |     ( | ||||||
|         if [ "${LIVE_THEME}" ]; then |         if [ "${LIVE_THEME}" ]; then | ||||||
|         themes.live "${LIVE_THEME}" & |             ( themes.live "${LIVE_THEME}" ) | ||||||
|  |             kill $parent_proc | ||||||
|         fi |         fi | ||||||
|  |     )& | ||||||
|  |     ( | ||||||
|  |         sleep 3 | ||||||
|         xdg-open http://127.0.0.1:8888/ |         xdg-open http://127.0.0.1:8888/ | ||||||
|     wait -n |     )& | ||||||
|     kill 0 |     SEARXNG_DEBUG=1 pyenv.cmd python -m searx.webapp | ||||||
| } | } | ||||||
| 
 | 
 | ||||||
| buildenv() { | buildenv() { | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		
		Reference in a new issue
	
	 Martin Fischer
						Martin Fischer